please do help me with this programming problem as i found it difficult.
develop a c++ program to accept the number of km to travel.calculate the hours need to travel the distance. assume to travel 70km takes 1 hour. if the required hour is higher than 2 hours then for every additional 2 hours, 15 minutes rest time should be added.
so, my lecture gave us a distance of 700km travel.
after i calculate, the total distance travel need 11 hours. 10 hours travel and 1 hours rest.b somehow i dont know how to do it in programming.