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:
year or less, person is an infant
Over year but less than years, person is a child
At least but less than person is a teenager
years or greater, person is an adult
The flowgorithm should perform the following:
declare the necessary variables and constants
initialize the constants
clearly prompt the user for the age of the person
perform the necessary tests for the input age
display the status of the person based on age, clearly labeled
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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
