Formula for Running word problem

I am attending this intro to programming 5 day course that was given for free in my community center in the neighborhood, just to get a brief knowledge of beginner programming. The guy gave us a word problem to solve and write a program with, its not a grade [considering the course was free and just for fun], but due to pride and being bad in math, I am stuck!

Here is the word problem:

An athlete runs at constant speed on a 400 meter (437.6 yards) track. Write a program

that asks the user (e.g. his coach) to input the runner speed (in kilometers per hour) and a

time interval (in seconds); the programs must calculate and display the covered distance

both in meters and yards, and also display (on a new line) the number of fully covered

laps and, in addition, the meters traveled in the last, incomplete lap (see the examples

below).

Do not use more than 2 decimal points when displaying fractional numbers.

** and here is what I have so far [I have only been in the course for one day]:

Code:

`#include <iostream>`

#include <iomanip>

using namespace std;

int main()

{

double km, time;

cout << "Input the runner speed [km/h]:" << endl;

cin >> km;

cout << "Input the time interval [s]:" << endl;

cin >> time;

cout << "Run Distance = " << endl << endl;

cout << "Covered Laps = " << endl << endl;

return 0;

}

anyone can help? anything!