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