Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int a,b,c;
- scanf("%d %d %d",&a,&b,&c);
- if(a>b && a>c){
- printf("Maximum number is %d\n",a) ;
- }
- else if(a<b && c<b){
- printf("maximum number is %d\n",b);
- }
- else if(c>a && c>b){
- printf("Maximum number is %d\n",c);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement