Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write the Raptor code for the following problem. To be consistent with this lab, download the sample solution for Lab 6 and continue with the
Write the Raptor code for the following problem.
To be consistent with this lab, download the sample solution for Lab and continue
with the following changes.
Ask the user for number of people
Validate the number of people to be between and
For each person, ask for the name and age in years and store the data in
arrays.
Display the heading ;
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 years and average age in years
Display name, age in years, age in Days
Display name and age of the people age in years whose age is above average
Find and display the name and age age in years of the youngest person
Find and display the name and age age in years of the oldest person
Ask for a name of a person and display their age age in years If the name is
not in the list issue an error message.
can you write the complete raptor code for this problem.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
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