Register now or log in to join your professional community.
Like when you Find it nd vote up! thank you
#include<iostream>
#include<cmath>
using namespace std;
main()
{
float x,y,z;
cout<<"Enter Value of Perpendicular: ";
cin>>x;
cout<<"Enter Value of Base: ";
cin>>y;
cout<<" HYP = "<<sqrt(pow(x,2)+pow(y,2))<<" Answer. ";
return 0;
}