#include <iostream.h>
#include <conio.h>
void main ()
{ //clrscr ();
int a,b,c;
cin>>a>>b>>c;
if (a>b)
{ if(a>c)
{ if(b>c)
{ cout<<c<<b<<a;
}
else
{ cout<<b<<c<<a;
}
}
else
{ cout<<b<<a<<c;
}
}
else
{ if(b>c)
{ if(a>c)
cout<<c<<a<<b;
else
cout<<a<<c<<b;
}
else
{ cout<<a<<b<<c;
}
}
//getch();
}
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.