#include <iostream> #include <cmath> using namespace std; int main() { int a, b, c; cin >> a; cin>> b; c= sqrt(pow(a,2)+pow(b,2)) cout<< "hypotenusa ="<< c ; return 0; }
2 3
prog.cpp: In function ‘int main()’: prog.cpp:10:2: error: expected ‘;’ before ‘cout’ cout<< "hypotenusa ="<< c ; ^~~~
Standard output is empty