Home / Questions / 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:

 

Jul 06 2020 Read more Less More

Answer (Solved)

question Subscribe To Get Solution

Recent Questions

Chat Now

Welcome to Live Chat

Welcome to MyCourseHelp Services, World's leading Academic solutions provider with Millions of Happy Students.

Please fill in the form