need some help

this is what i have to put in
Garden Snail
Create a new C++ Visual Studio Project to read an amount of hours and then compute and print the total distance that a garden snail can travel during that time if it can slither along at a speed of 1.4 yards per hour.
• Declare the speed of 1.4 yards per hour as a constant.
• Format the output so that only 2 digits after the decimal point are shown for all numbers


Example run of the program:
Input: Please enter the amount of crawling hours: 4.5
Output: When crawling for 4.50 hours at a speed of 1.40 yards per
hour the snail will crawl 6.30 yards.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  #include <iostream>
#include <Windows.h>

using namespace std;

int main()
{
	// Declare the input variables/constants and
	// any output variables you will need here.
	// Use MEANINGFUL names and types.



	// Prompt the user to enter the input variable
	// Read-in the input variable


// Do the calculation here


	// Produce the output here


	system("pause");
	return 0;


} // End of program


how would i type this out
any help would be much appreciated
Topic archived. No new replies allowed.