Question
Program using (struct) structure arrays and functions in C. ** Allow user to change robot-name as well. Speed Weight Max. Run-Time Price Robot01 4.5 5.6
Program using (struct) structure arrays and functions in C.
** Allow user to change robot-name as well.
| Speed | Weight | Max. Run-Time | Price |
Robot01 | 4.5 | 5.6 | 12.7 | 495.99 |
Robot02 | 5.6 | 8.9 | 8.2 | 599.95 |
Robot03 | 2.1 | 14.6 | 6.5 | 399.95 |
Robot04 | 7.9 | 6.4 | 3.4 | 749.65 |
Write a program that stores the information in a single array, and allows the user to change any value. The program should also allow the user to select the following information when requested via a simple menu:
The fastest / slowest robots.
The heaviest / lightest robots.
The robots with the best / worst maximum run-time.
The cheapest / most expensive robots.
The average speed of all the robots.
The average Weight of all the robots.
The average runtime of all the robots.
The average price of all the robots.
All the details of any one robot.
Program using (struct) structure arrays and functions in C.
** Allow user to change robot-name as well.
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