Voting Age
Write a program 12-VotingAge
that askes the user to enter their age, and then prints out a voting-related message that's appropriate for them.
If the user is old enough to vote (18 years old), the program should display a couple of lines letting the know that they can vote, and that they should vote!
If the user is not old enough to vote, calculate how many years they have until they can vote and print out how long they'll have to wait.
Sample Output
Can you vote? Enter your age, please: 16 You can't vote this year, but you can vote in two years. Be sure to register! Can you vote? Enter your age, please: 21 You are eligible to vote this year! I hope you are registered and ready to make your voice known.
Finishing Up
Once your program is working correctly, use your mouse to click-drag over the URL address for your project at the top of the browser window. Copy that link, and give that copied link to the instructor using the procedure given in class.