Question: Write an algorithm and draw a flowchart thatreads the age of a persons. Check if the age is in this category If age is Less

Write an algorithm and draw a flowchart thatreads the age of a persons. Check if the age is in this category
If age is
Less than 0, output error, age is not allowed
0 to 12, output "Child"
13 to 19, output "Teenager"
20 to 30, output "Young adult"
31-59 , output "Adult"
60 and above, output "Senior

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!