Question: Question 4 : My first Scanner: Create a small program named VotingRight that asks the user to enter his age. If the user is not
Question : My first Scanner:
Create a small program named VotingRight 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?
You will be allowed to vote in years.
How old are you?
You have the right to votel
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
