Your father has presented a lovely red car on your birthday. You drove the car for 5 hours at an average speed of 70 kms/ hr. Write a program in C++ to calculate how much distance you covered with your car.
Answers
Answered by
0
Answer:
Speed of car in first 15 minutes = 40 km/h
Distance covered = speed × Time taken
60 minutes = 1 hour
15 minutes =
60
15
hour
Distance covered = 240×
60
15
=10km
Speed of car in next 15 minutes = 60 km/h
Distance covered = 60×
60
15
=15km
∴ Total distance covered = (10+15)km = 25 km
∴ 25 km is correct
Answered by
0
Answer:
Explanation:
Here your answer
Attachments:
Similar questions