Question: Write the Raptor code for the following problem. H Ask the user for number of people For each person, ask for the name and age
Write the Raptor code for the following problem.
H
Ask the user for number of people
For each person, ask for the name and age in years and store the data in
arrays.
Display the heading Age Report
Display the name and the age one line at a time for everyone
For each person, calculate age in days and store in another array. Assume
days in a year
Calculate the total age in days and average age in days
Display the heading Final Report
Display name, age in years, age in days, total age in days, average age in days
How does this look in raptor?
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
