For this project, you will develop an algorithm, flowchart and modular program based on the following: The user will be prompted for their name and age, use the DATE module or class associated with...

1 answer below »
For this project, you will develop an algorithm, flowchart and modular program based on the following: The user will be prompted for their name and age, use the DATE module or class associated with your programming language to acquire the current date and calculate how many years it is until the user is eligible for retirement. (age 65) The program will display one of three alternate outputs based on how long it will be until the user retires. You will determine the range of years and text associated with each of the three alternatives.


COP1000 P-2 Learning Outcomes Measured COP1000 CLO-1 Develop simple and complex algorithms using stepwise refinement. COP1000 CLO-3 Develop algorithms using functions and procedures with and without arguments. COP1000 CLO-10 Perform testing on applications including topdown and bottomup testing. COP1000 CLO-11 Describe debugging strategies. This project is language neutral and outcomes may be measured using any of the programming languages commonly utilized in COP1000. For this project, you will develop an algorithm, flowchart and modular program based on the following: The user will be prompted for their name and age, use the DATE module or class associated with your programming language to acquire the current date and calculate how many years it is until the user is eligible for retirement. (age 65) The program will display one of three alternate outputs based on how long it will be until the user retires. You will determine the range of years and text associated with each of the three alternatives. Example: “Congratulations George, it will only be 5 years until you are eligible to retire in 2022. “ You will submit 3 files for evaluation: 1. A Flowchart created using Flowchart application (Flowgarithm, Raptor or Visio). 2. Programming Code written in python using Repl.It. (always include comments in code) 3. A word document containing your algorithm and explaining what steps you took to test and debug your code. What issues did you identify and correct while working on the project. The date function in raptor is very basic here is a screenshot that can help with getting current date using each part of the date individually (there is no comprehensive date function in raptor like exists in other languages. A video is posted in lecture videos to help you with the python coding if needed but keep in mind it is not like the exercise videos as it does not give you all of the code needed.
Answered 2 days AfterSep 28, 2021

Answer To: For this project, you will develop an algorithm, flowchart and modular program based on the...

Sathishkumar answered on Sep 29 2021
129 Votes
Objective
Create a program that asks the user for name and age. Based on the user age it will print
/output about the retirement year details. Retirement age assigned as 65.
Algorithm Steps:
Step 1. Receive input from the user as name
Step 2. Store the input as string data type (say in variable name_p)
Step 3. Receive input from the user as age
Step 4. Store the input as integer data type (say in variable age_p)
Step 5. Import date library package for date calculations
Step 6. Assign retirement age as 65
Step 7. Fetching current year
Step 8. Checking age using if condition
        age_p>65
...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here