SHARE
TWEET

Untitled

a guest Apr 26th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <stdio.h>
  3. #include <clocale>
  4. #include <stdlib.h>
  5. #include <cmath>
  6. using namespace std;
  7.  
  8. main ()
  9. {
  10.     double a=0,b=0,c;
  11.    
  12.     setlocale(LC_ALL,"RUSSIAN");
  13.     printf ("Ââåäèòå ïåðâûé êàòåò:");
  14.     scanf("%lf",&a);
  15.     printf ("Ââåäèòå âòîðîé êàòåò:");
  16.     scanf("%lf",&b);
  17.     c=sqrt(a*a+b*b);
  18.     printf("\nÃèïîòåíóçà = %lf",c);
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top