Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Make a Raptor Flow Chart: 123456789 10 11 Declare names [], ages [], ageInDays [] Display Enter number of people: Input numberOfPeople For i =

Make a Raptor Flow Chart:

123456789 10 11 Declare names [], ages [], ageInDays [] Display  

123456789 10 11 Declare names [], ages [], ageInDays [] Display "Enter number of people:" Input numberOfPeople For i = 1 to numberOfPeople Display "Enter name:" Input name Display "Enter age:" Input age names [i] = name ages [i]: = age 12 13 Display "***Age Report***" 14 For i = 1 to numberOfPeople 15 Display names [i] + " " + ages [i] 16 17 For i = 1 to numberOfPeople 18 ageInDays [i] = ages [i] * 365 19 20 totalAgeInDays = 0 21 For i = 1 to numberOfPeople 22 23 24 averageAgeInDays = totalAgeInDays / numberOfPeople 25 totalAgeInDays = totalAgeInDays + ageInDays [i] 26 Display "***Final Report***" 27 For i = 1 to numberOfPeople Display names [i] + 11 II 28 + ages [i] + || || +ageInDays [i] 29 30 Display "Total age in days: + totalAgeInDays 31 Display "Average age in days: + averageAgeInDays 11 123456789 10 11 Declare names [], ages [], ageInDays [] Display "Enter number of people:" Input numberOfPeople For i = 1 to numberOfPeople Display "Enter name:" Input name Display "Enter age:" Input age names[i] = name ages [i]: = age 12 13 Display "***Age Report***" 14 For i = 1 to numberOfPeople 15 Display names[i] + " " + ages [i] 16 17 For i = 1 to numberOfPeople 18 ageInDays [i] = ages [i] * 365 19 20 totalAgeInDays = 0 21 For i = 1 to numberOfPeople 22 23 24 averageAgeInDays = totalAgeInDays / numberOfPeople 25 totalAgeInDays = totalAgeInDays + ageInDays [i] 26 Display "***Final Report***" 27 For i = 1 to numberOfPeople Display names [i] + 11 II 28 + ages [i] + || || + ageInDays [i] 29 30 Display "Total age in days: + totalAgeInDays 31 Display "Average age in days: + averageAgeInDays 11 123456789 10 11 Declare names [], ages [], ageInDays [] Display "Enter number of people:" Input numberOfPeople For i = 1 to numberOfPeople Display "Enter name:" Input name Display "Enter age:" Input age names [i] = name ages [i]: = age 12 13 Display "***Age Report***" 14 For i = 1 to numberOfPeople 15 Display names [i] + " " + ages [i] 16 17 For i = 1 to numberOfPeople 18 ageInDays [i] = ages [i] * 365 19 20 totalAgeInDays = 0 21 For i = 1 to numberOfPeople 22 23 24 averageAgeInDays = totalAgeInDays / numberOfPeople 25 totalAgeInDays = totalAgeInDays + ageInDays [i] 26 Display "***Final Report***" 27 For i = 1 to numberOfPeople Display names [i] + 11 II 28 + ages [i] + || || + ageInDays [i] 29 30 Display "Total age in days: + totalAgeInDays 31 Display "Average age in days: + averageAgeInDays 11

Step by Step Solution

3.40 Rating (147 Votes )

There are 3 Steps involved in it

Step: 1

The Raptor flowchart for the specified pseudocode is as follows Start Declare names ages ageInDays Display Enter number of people Input numberOfPeople ... 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

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students explore these related Programming questions