Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- 28-02-2020
- Class condition
- INPUT A,B,C and print max number
- */
- #include<stdio.h>
- int main()
- {
- int a,b,c;
- printf("Enter the value of a,b&c:\n");
- scanf("%d %d %d",&a,&b,&c);
- if(a>b)
- if(a>c)
- printf("a is Big");
- else
- printf("c is big");
- else if(b>a)
- if(b>c)
- printf("b is Big");
- else
- printf("c is big");
- else
- printf("c is Big");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement