Kjdf
2013-08-05 10:14:36 UTC
#include
#include
using namespace std;
float XPos;
float YPos;
float Xsquared;
float Ysquared;
float sum;
float total;
int main()
{
Xsquared = XPos * XPos;
Ysquared = YPos * YPos;
sum = Xsquared + Ysquared;
total = sqrt(sum);
cout<<"Enter X postion: ";
cin>>XPos;
cout<
cin>>YPos;
cout<