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(b>a>c)
- {
- printf("%d\n%d\n%d\n\n%d\n%d\n%d\n",c,a,b,a,b,c);
- }
- else if(b>c>a)
- {
- printf("%d\n%d\n%d\n\n%d\n\n%d\n%d\n",a,c,b,a,b,c);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement