0

I'm hoping to create a program that allows a user to enter several points, their coordinates and their masses and then calculates, over a period of time, each points' new coordinates due to gravity.

I've started a code to calculate position, and I'm trying to understand why DEV C++ keeps telling me that I'm missing a semi-colon on lines 9 and 10. I don't understand that...

```
#include <iostream>
#include <cmath>
using namespace std;
class Points
{
public:
float Two_Point_Distance(int x1, int x2, int y1, int y2) { return sqrt(pow(x2-x1,2) + pow(y2-y1, 2)) ; } // find the distance between 2 points.
float Three_Point_Distance(x1, x2, y1, y2, int z1, int z2) { return sqrt(pow(x2 - x1, 2) + pow(y2 - y1, 2) + pow (z2 - z1, 2)) ; } // finds the distance between 3 points.
Points (int, int, int); // constructor
~Points ();
private:
int ItsX;
int ItsY;
int ItsZ;
};
Points::Points(int Initial_X, int Initial_Y, int Initial_Z) // constructor defines the points x, y and z values.
{
ItsX = Initial_X;
ItsY = Initial_Y;
ItsZ = Initial_Z;
}
Points::~Points()
{
}
main()
{
int Initial_X;
int Initial_Y;
int Initial_Z;
cin >> Initial_X, cin >> Initial_Y, cin >> Initial_Z; // Asks the user for points X, Y, and Z.
Points PointA(Initial_X, Initial_Y, Initial_Z);
return 0;
}
```