Answer:
# include<cmath>
# include <iostream>
# include<stdio.h>
using namespace::std;
int main()
{
float a, b, c;
cout<<"Enter a (Perpendicular)"; cin>>a;
cout<<"Enter b (base)";cin>>b;
c= sqrt(pow(a,2) + pow(b,2));
cout<< "Hypotenuse="<<c;
return 0;
}
Step-by-step explanation:
Please check the answer section.