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);
}

There are a few issues with your code. First, the include statement for `iostream.h` is incorrect. It should be `#include <iostream>`. Also, the include statement for `stdlib.h` is unnecessary for this program.

Second, the line `grav = (6.67e - 11);` is missing a power operator between `e` and `-`. The correct notation for scientific notation is `6.67e-11`.

Lastly, `cout` and `cin` are part of the `std` namespace, so you need to add `std::` before them or include `using namespace std;` at the beginning of your program.

Here's the corrected code:

```cpp
/* Universal Gravitation Program */
#include <iostream>

int main()
{
double grav, mass1, mass2, radius, force;

std::cout << "Universal Gravitation" << std::endl;
std::cout << std::endl;
std::cout << "Enter mass1 (kg): ";
std::cin >> mass1;
std::cout << std::endl;
std::cout << "Enter mass2 (kg): ";
std::cin >> mass2;
std::cout << std::endl;
std::cout << "Enter radius (meters): ";
std::cin >> radius;
std::cout << std::endl;

grav = 6.67e-11;
force = grav * (mass1 * mass2) / (radius * radius);

std::cout << "The force of gravity is: " << force << std::endl;
std::cout << std::endl;
std::cout << std::endl;

system("pause");
return 0;
}
```

After making these corrections, your code should compile and run correctly.

Here are some possible solutions to address the compilation issues in your code:

1. Include the correct header files:
Instead of using `#include <iostream.h>` and `#include <stdlib.h>`, update them to:
```cpp
#include <iostream>
#include <cstdlib>
```

2. Change the namespace:
Replace `cout` and `cin` with `std::cout` and `std::cin` respectively, or add `using namespace std;` at the top of your program.

3. Fix the value of the universal gravitation constant:
Change `grav = (6.67e - 11)` to `grav = 6.67e-11`. Remove the space before the minus sign.

Here's the updated code:

```cpp
#include <iostream>
#include <cstdlib>

int main() {
double grav, mass1, mass2, radius, force;

std::cout << "Universal Gravitation" << std::endl;
std::cout << std::endl;
std::cout << "Enter mass1 (kg): ";
std::cin >> mass1;
std::cout << std::endl;
std::cout << "Enter mass2 (kg): ";
std::cin >> mass2;
std::cout << std::endl;
std::cout << "Enter radius (meters): ";
std::cin >> radius;
std::cout << std::endl;

grav = 6.67e-11;
force = grav * (mass1 * mass2) / (radius * radius);

std::cout.setf(std::ios::fixed);
std::cout.precision(2);
std::cout << "The force of gravity is: " << force << std::endl;
std::cout << std::endl;

system("Pause");
return (0);
}
```

Make sure to save your file with a `.cpp` extension, compile it, and run the updated code.