Assistance needed

I need help on how to go about this. Any tips? I'd appreciated. Thanks!

Problem:

http://tinypic.com/r/hvzdd1/8
1
2
3
4
5
6
7
do
{
/*get the user input*/

} while(/*input is wrong*/);

double result = /* multiply, velocity in the selected medium(meter/sec), with, user inputed time(sec) */
Thanks! I will try this and post the program once I'm done.
Topic archived. No new replies allowed.