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 "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 ...See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started