Question: Write a C program that calculates the time it takes to drivefrom one place to another. Ask the user to enter the distance between the
Write a C program that calculates the time it takes to drivefrom one place to another. Ask the user to enter the distance between the two places (in kilometres) and his expected average speed (in km/hr). Then calculate the time in hours using point variables.
Then print the result as follows :
The distance is ___
The average speed is ___
The time is ___
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
