void main()
{
float input1;
float input2;
// Print request for first number, the read it in.
cout << "Enter first number: ";
cin << input1;
// Print request for second number, then read it in
cout << "Enter second number: "
cin << input2;
// Divide first number by second
float result = input1 / input2;
// Print result
cout << "Result: " << result << endl;
}
Please edit your post and make sure your code is [code]between code tags[/code] so that it has line numbers and syntax highlighting, as well as proper indentation.