Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Apr 9th, 2020 132 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # include <stdio.h>
  2. # include <locale.h>
  3. # include <math.h>
  4. # pragma warning(disable: 4996)
  5.  
  6. int main()
  7. {
  8.   setlocale(LC_ALL, "RUS");
  9.   int a,b,c;
  10.   scanf("%d %d %d", &a, &b, &c);
  11.   if (a<b){
  12.     if (a<c){
  13.       if(b>c){
  14.         a=b*b;
  15.       }
  16.       a=c*c;
  17.     c=b*b;
  18.     }
  19.     c=b*b;
  20.   }
  21.   if(b<c){
  22.     if (a>c){
  23.       b=a*a;
  24.     }
  25.     b=c*c;
  26.   }
  27.   c=a*a;
  28. printf("a = %d, b = %d, c = %d\n", a, b, c);
  29. }
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
Top