Answered step by step
Verified Expert Solution
Question
1 Approved Answer
a ) Consider the table below : Robot Number Speed Weight Max. Run - Time Price 1 . 0 4 . 5 5 . 6
a Consider the table below :
Robot Number Speed Weight Max. RunTime Price
The table gives information about mobile robots :
Top Speed ms Weight Kg Maximum RunTime on a full battery Hours Price
Write a program that stores the information in a single array, and allows the user to change any value including robot number The program should also allow the user to select the following information when requested via a simple menu:
i The fastest slowest robots.
ii The heaviest lightest robots.
iii The robots with the best worst maximum runtime.
iv The cheapest most expensive robots.
v The average speed of all the robots.
vi The average Weight of all the robots.
vii The average runtime of all the robots.
viii The average price of all the robots.
ix All the details of any one robot.
The robots array is a by table rows x columns and all the values are floats or doubles so we can store them all in one array.
float robots and so on
This means you can refer to the entire data set just using the single array. Use only include to solve
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