Answered step by step
Verified Expert Solution
Link Copied!

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 6 and continue
with the following changes.
Ask the user for number of people
Validate the number of people to be between 1 and 20
For each person, ask for the name and age in years and store the data in 2
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 365
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.
image text in transcribed

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

Database Design And Implementation

Authors: Edward Sciore

2nd Edition

3030338355, 978-3030338350

More Books

Students also viewed these Databases questions