![{\underline{\underline{\huge{\red{\bold {hello : )}}}}}} {\underline{\underline{\huge{\red{\bold {hello : )}}}}}}](https://tex.z-dn.net/?f=%7B%5Cunderline%7B%5Cunderline%7B%5Chuge%7B%5Cred%7B%5Cbold+%7Bhello+%3A+%29%7D%7D%7D%7D%7D%7D)
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.
![\huge \underline \bold \red {Answer \: it} \huge \underline \bold \red {Answer \: it}](https://tex.z-dn.net/?f=+%5Chuge+%5Cunderline+%5Cbold+%5Cred+%7BAnswer+%5C%3A+it%7D)
![<marquee>5 points</marquee> <marquee>5 points</marquee>](https://tex.z-dn.net/?f=%26lt%3Bmarquee%26gt%3B5+points%26lt%3B%2Fmarquee%26gt%3B)
Answers
Answered by
1
Explanation:
Example -
Input: N = 5, K = 2, M = 1
arr[] = {3}
Output: 2
The car starts at 0, with its tank full, travels for 2 km and then refills its tank at 2 km. The car makes the compulsory stop at 3 where its tank if refilled again. It travels for 2 km more to reach its destination of 5 km.
Input: N = 10, K = 2, M = 3
arr[] = { 6, 7, 8 }
Output: 5
The car starts from 0, stops at 2, 4 for refilling its tank, before making compulsory stops at 6, 7, 8. It travels 2 km from 8 km to make its journey of 10 km complete.
Brainliest answer
Answered by
2
Answer:
d=t×s sq.units
d=5×70km
d=350km
Explanation:
pls mark it as brainliest...
Similar questions
Computer Science,
5 months ago
History,
5 months ago
Math,
5 months ago
Math,
11 months ago
History,
11 months ago
India Languages,
1 year ago
World Languages,
1 year ago
Physics,
1 year ago