This assignment is intended to see if youve learned the basic concepts talked about thus far in the lectures.
You will need to use cout, cin, variables and operators.
The purpose of the program is to determine the number of whole half decades (5 years, sometimes called a lustrum) a person has lived; given the year they were born.
Sample output:
In what year were you born?
1939
You have lived for 15 half-decades
In what year were you born?
1963
You have lived for 10 half-decades
In what year were you born?
2015
You have lived for 0 half-decades