Advertisement
rotti321

ipotenuza

May 10th, 2021
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4.  
  5. int main() {
  6. float a, b, c;
  7. cin >> a >> b ;
  8. c=sqrt(a*a+b*b);
  9. cout << c;
  10. return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement