Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

AWS Certified Database Study Guide Specialty DBS-C01 Exam

Authors: Matheus Arrais, Rene Martinez Bravet, Leonardo Ciccone, Angie Nobre Cocharero, Erika Kurauchi, Hugo Rozestraten

1st Edition

1119778956, 978-1119778950

More Books

Students also viewed these Databases questions

Question

LO4 List options for development needs analyses.

Answered: 1 week ago