Description
Using basic expressions, calculate a person’s age given their birth year and the current year.
Requirements
- Prompt the user to enter an integer. This number will represent a person’s birth year.
- Prompt the user to enter an integer. This number will represent the current year.
- Display a message to the user showing the person’s age.
Sample Interaction / Output
LEGEND
PROGRAM OUTPUT
USER ENTRY
Solution
CATALOG ID: CS-EXP0001
Print Requirements