Stuff
public cpp v1 · immutable#include <iostream>#include <cmath>using namespace std;int main(){ int a; int b; double c; int a_squared; int b_squared; int c_squared; cout << "Pythagorean Theorem Calculator" << endl; cout << endl; cout << "Side A of the triangle? "; cin >> a; cout << endl; cout << "Side B of the triangle? "; cin >> b; a_squared = pow(a,2); b_squared = pow(b,2); c_squared = a_squared+b_squared; c = sqrt(c_squared); cout << endl; cout << "Side C = " << c << endl; return 0;}