> a; cout << "Enter side B: " << endl; cin >> b; c = sqrt(pow(a, 2) + pow(b,2)); cout << "This is your hypotenuse length: " << c << endl; return 0; }"> > a; cout << "Enter side B: " << endl; cin >> b; c = sqrt(pow(a, 2) + pow(b,2)); cout << "This is your hypotenuse length: " << c << endl; return 0; }"> > a; cout << "Enter side B: " << endl; cin >> b; c = sqrt(pow(a, 2) + pow(b,2)); cout << "This is your hypotenuse length: " << c << endl; return 0; }">
#include <iostream>
#include <cmath>
using namespace std;
int main() {
double a;
double b;
double c;
cout << "Enter side A: " << endl;
cin >> a;
cout << "Enter side B: " << endl;
cin >> b;
c = sqrt(pow(a, 2) + pow(b,2));
cout << "This is your hypotenuse length: " << c << endl;
return 0;
}