Question: Draw a flowchart that corresponds to Exercise 36. Data from Exercise 36 Write a program segment that inputs Age, displays Yes, you can vote if
Draw a flowchart that corresponds to Exercise 36.
Data from Exercise 36
Write a program segment that inputs Age, displays "Yes, you can vote" if Age is 18 or older and displays "You are too young to vote" if Age is less than 18, and displays nothing else. Remember to use the comparison operator when checking the value of Age in your If-Then-Else statements.
Step by Step Solution
3.52 Rating (162 Votes )
There are 3 Steps involved in it
Yes 8 Start Enter you... View full answer
Get step-by-step solutions from verified subject matter experts
