Question: Write program that takes the user age as input. Then the program will display whether the person is authorized to participate in vote or not.
Write program that takes the user age as input. Then the program will display whether the person is authorized to participate in vote or not. A persons age who is authorized to vote should be 18 years or older.
Example output:
Enter your age: 18
You are authorized to vote.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
