question is in picture
thanks
Expert Q&A Done Instructions The program in Example 8-7 outputs the average speed over the intervals of length 10. Modify the program so that the user can store the distance traveled at the desired times, such as times 0, 10, 16,20, 30,38 and 45. The program then computes and outputs the average speed of the object over the successive time intervals specified by the time when the distance was recorded For example, for the
OR
OR