Question: Plz in C language Write a program to read the distance and the traveled time for a number of cars N (ask the user to

 Plz in C language Write a program to read the distance

Plz in C language

Write a program to read the distance and the traveled time for a number of cars N (ask the user to enter number of cars) then calculate the speed of each car. Your program should calculate and perform the following: In main function, read the distance and time values. Write a function named calculate Speed that accepts distance and time as inputs and returns speed as output. Using the above function (calculate_Speed), calculate the speed for every car. Display the speed on screen in main function. Write a function named categories_Speed that accepts the speed as input. The function returns it if the car is super-speed (speed over 120), and returns o if the car speed is normal (speed equal or below 120). An main function, calculate and display the average speed and how many cars in super-speed. AMB

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!