Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Make a flow chart and test plz Draw a flowchart for a program that accepts an unknown number of ages from the user until a

Make a flow chart and test plz
image text in transcribed
Draw a flowchart for a program that accepts an unknown number of ages from the user until a negative number is entered. If the age is greater than or equal to 100 output "You have lived a century" otherwise if the age is greater than or equal to 55 output "AARP here I come" otherwise output "You are still a spring chicken." 2. Test your algorithm with the following 2 cases: Test 1> 100, 21, 55, 99,-1 Outputs are You have lived a century (for 100) You are still a spring chicken (for 21) AARP here I come (for 55) AARP here I come (for 99) Test 2>1 No output

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

Step: 3

blur-text-image

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

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

More Books

Students also viewed these Databases questions