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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!