I NEED HELP WITH MY CODE!!! it won't compile right

The formula for finding the force of gravity between two objects is Force = grav * (mass1 * mass2) / (radius * radius), where Force = the force of gravity between the two objects, grav = the universal gravitation constant (6.67e-11), mass1 = the mass of the 1st object, mass2 = the mass of the second object, and radius = the distance between the centers of the two objects. Write a C++ program to allow the user to enter mass1, mass2 and the radius. The program should then calculate and display the force of gravity between the objects.

/* Universal Gravitation Program */
#include <iostream.h>
#include <stdlib.h>
int main ( )
{
double grav, mass1, mass2, radius, force;
cout << "Universal Gravitation" << endl;
cout << endl;
cout << "Enter mass1 (kg): ";
cin >> mass1;
cout << endl;
cout << "Enter mass2 (kg): ";
cin >> mass2;
cout << endl;
cout << "Enter radius (meters): ";
cin >> radius;
cout << endl;
grav = (6.67e - 11);
force = grav * (mass1 * mass2) / (radius * radius);
cout.setf(ios::fixed);
cout.precision(2);
cout << "The force of gravity is : " << force << endl;
cout << endl;
cout << endl;
system("Pause");
return (0);
}

Similar Questions
    1. answers icon 1 answer
  1. What is the purpose of a query language?(1 point) Responses to display a web page properly to display a web page properly to
    1. answers icon 1 answer
  2. What is the purpose if a query language ?to display a web page properly to compile code to interpret code to interact with
    1. answers icon 1 answer
  3. s=k ln W * lottery numbers / g!^¥ + ([x:86:23]<€{fn t})1-How can I use this formula to get the five lotto numbers for 5/90
    1. answers icon 0 answers
more similar questions