Language: C++

#include<iostream>
using namespace std;
int main(){
int a,b,c,d;
cin>>a>>b>>c;
if(a>b){d=a;a=b;b=d}
if(b>c){d=b;b=c;c=d}
if(a>b){d=a;a=b;b=d}
cout<<a<<" "<<b<<" "<<c<<endl;
return 0;
}





































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Compiler output:
a.cc: In function 'int main()':
a.cc:6:20: error: expected ';' before '}' token
    6 | if(a>b){d=a;a=b;b=d}
      |                    ^
      |                    ;
a.cc:7:20: error: expected ';' before '}' token
    7 | if(b>c){d=b;b=c;c=d}
      |                    ^
      |                    ;
a.cc:8:20: error: expected ';' before '}' token
    8 | if(a>b){d=a;a=b;b=d}
      |                    ^
      |                    ;