Question: JAVA PROBLEM (a) Prompt the user for the year she/he was born. (b) Calculate and print the age the user will be this year. (c)
JAVA PROBLEM
(a) Prompt the user for the year she/he was born.
(b) Calculate and print the age the user will be this year.
(c) Declare a constant for average life expectancy, set its value to 82.3.
(d) Print a message telling the percentage of expected life the user has lived.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
