SHARE
TWEET

Untitled

sathi_talukder Feb 21st, 2019 59 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.  
  6.     printf("Enter three numbers: ");
  7.     scanf("%d %d %d", &A, &B, &C);
  8.  
  9.     if (A >= B && A >= C)
  10.         printf("%d is the largest number.", A);
  11.  
  12.     else if (B >= A && B >= C)
  13.         printf("%d is the largest number.", B);
  14.  
  15.     else
  16.         printf("%d is the largest number.", C);
  17.  
  18.     return 0;
  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
 
Top