XaskeL

T2-1

Oct 3rd, 2019
153
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <Windows.h>
  2. #include <iostream>
  3. #include <stdio.h>
  4.  
  5. int main()
  6. {
  7.     int a, b, c;
  8.     scanf("%d%d%d", &a, &b, &c);
  9.  
  10.     if (a > b)
  11.         if (a > c) printf("%d\n", a);
  12.         else printf("%d\n", c);
  13.     else
  14.         if (b > c) printf("%d\n", b);
  15.         else printf("%d\n", c);
  16.  
  17.     system("pause");
  18. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×