For this assignment I have to:
Write a C++ program that prompts a user to input the birth year (i.e. 1998). Based on the current year, determine if the
person is of voting age. (Voting age being 18.) If the person is not of voting age, you are to display the following message:
Sorry, but you cannot vote at this time.
You have 4 year(s) until you can vote.
(Where 4 is a calculated value that represents the number of years remaining until the person can vote.)
If the person is of voting age, you are to display the following message:
Congratulations!!! You are 22 years old.
You are of voting age.
(Where 4 is a calculated value that represents the number of years remaining until the person can vote.)