Service

Chat Now

Write a program (name it pension.py) that asks the user for their name and age....

Write a program (name it pension.py) that asks the user for their name and age....

Write a program (name it pension.py) that asks the user for their name and age. The
program then tells the user the year they are eligible for pension, which is 67 in
Australia. The program should print out the user’s name as well as their pension’s
year in one sentence.
For example:
If Jenny whose age is 20 executed the program in the year 2020, the program prints
out the following message: “Hey Jenny, you will be eligible for pension in 2067”
If Mark whose age is 45 executed the program in the year 2008, the program prints
out the following message: “Hey Mark, you will be eligible for pension in 2030”.

Attachments:

 
manish jayant 06-Jul-2020

Answer (Solved)

question Get solution