SHARE
TWEET

Untitled

a guest Oct 21st, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. int main()
  3. {
  4.         int a, b, c;
  5.         printf("a = ");
  6.         scanf("%d", &a);
  7.         printf("b = ");
  8.         scanf("%d", &b);
  9.         printf("c = ");
  10.         scanf("%d", &c);
  11.         max==0;
  12.         if(a >= b)
  13.         {
  14.                 if(a >= c) printf("max a = %d\n", a);
  15.         }
  16.         else if(b >= c)
  17.         {
  18.                 printf("max b = %d\n", b);
  19.         }
  20.         else
  21.         {
  22.                 printf("max c = %d\n", c);
  23.         }
  24.         return 0;
  25. }
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