Computer Science, asked by vidyakr73521, 10 hours ago

Write a program to accept the age of the user and inform him how many years are left in his retirement. The retirement age is 60 years.

Answers

Answered by samarthkrv
0

Answer:

age = int(input("Enter your age:"))

if(age > 60):

   print("You rertired",(age-60),"years ago")

else:

   print("you have",(60-age),"years until retirement")

Explanation:

Similar questions