Question: Write a flowgorithm that asks the user to input a person s age. The program should then display a message indicating whether the person is

Write a flowgorithm that asks the user to input a persons age. The program should
then display a message indicating whether the person is an infant, child, teenager or an
adult based on the following guidelines:
1 year or less, person is an infant
Over 1 year but less than 13 years, person is a child
At least 13 but less than 20, person is a teenager
20 years or greater, person is an adult
The flowgorithm should perform the following:
1. declare the necessary variables and constants
2. initialize the constants
3. clearly prompt the user for the age of the person
4. perform the necessary tests for the input age
5. display the status of the person based on age, clearly labeled
6. use a comment block for your name, lab name and date at top of flowchart

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!