RAJIBRAJU

1

Jun 11th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.33 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int x,y,z;
  5.     printf("Enter Three Number:");
  6.     scanf("%d %d %d",&x,&y,&z);
  7.     if(x>y&&x>z){
  8.         printf("%d is largest number",x);
  9.     }
  10.     else if(y>x&&y>z)
  11.     {
  12.         printf("%d is largest number",y);
  13.     }
  14.     else
  15.         printf("%d is largest number",z);
  16.     return 0;
  17. }
Add Comment
Please, Sign In to add comment