Hi,

I am trying to calculate the distance between two points, by using Pythagorean Theorem and the x,y coordinates of two points. However, I have the following issue in line 14: "*Expression must have integral or enum type*".

```
#include <iostream>
#include <math.h>
using namespace std;
int main ()
{
float a, b, c, d, distance;
{
cout << "Input x1 and y1 ";
cin >> a >> b;
cout << "Input x2 and y2 ";
cin >> c >> d;
distance = sqrt((c-a)^2+(d-b)^2);
cout << "The distance between the two points : "<< distance;
}
return 0;
}
```