Generation

generate functionMon, 22 May 2023

una funcion que calcule la hipotenusa dandole las catetos del rectangulo

include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b; c = sqrt(pow(a, 2) + pow(b, 2)); cout << c; }

Questions about programming?Chat with your personal AI assistant