Question: Create a small program named Voting Right that asks the user to enter his age. If the user is not old enough to vote, the

 Create a small program named Voting Right that asks the user

Create a small program named Voting Right that asks the user to enter his age. If the user is not old enough to vote, the program needs to print the number of years until the person is allowed to vote Example of the output: How old are you? 11 You will be allowed to vote in 7 years. How old are you 24 You have the right to vote

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!