Language: C++

#include <stdio.h>

int main(){
   int a,b,c;
   scanf("%d %d %d",&a,&b,&c);
   if(a =< b && b =< c){
      printf(%d" "%d" "%d,a,b,c);
   }
   else if(a =< c && c =< b){
      printf(%d" "%d" "%d,a,c,b);
   }
   else if(b =< a && a =< c){
      printf(%d" "%d" "%d,b,a,c);
   }
   else if(b =< c && c =< a){
      printf(%d" "%d" "%d,b,c,a);
   }
   else if(c =< a && a =< b){
      printf(%d" "%d" "%d,c,a,b);
   }
   else {
      printf(%d" "%d" "%d,a,b,c);
   }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:10: error: expected primary-expression before '<' token
    6 |    if(a =< b && b =< c){
      |          ^
a.cc:6:20: error: expected primary-expression before '<' token
    6 |    if(a =< b && b =< c){
      |                    ^
a.cc:7:14: error: expected primary-expression before '%' token
    7 |       printf(%d" "%d" "%d,a,b,c);
      |              ^
a.cc:7:15: error: 'd' was not declared in this scope
    7 |       printf(%d" "%d" "%d,a,b,c);
      |               ^
a.cc:9:15: error: expected primary-expression before '<' token
    9 |    else if(a =< c && c =< b){
      |               ^
a.cc:9:25: error: expected primary-expression before '<' token
    9 |    else if(a =< c && c =< b){
      |                         ^
a.cc:10:14: error: expected primary-expression before '%' token
   10 |       printf(%d" "%d" "%d,a,c,b);
      |              ^
a.cc:10:15: error: 'd' was not declared in this scope
   10 |       printf(%d" "%d" "%d,a,c,b);
      |               ^
a.cc:12:15: error: expected primary-expression before '<' token
   12 |    else if(b =< a && a =< c){
      |               ^
a.cc:12:25: error: expected primary-expression before '<' token
   12 |    else if(b =< a && a =< c){
      |                         ^
a.cc:13:14: error: expected primary-expression before '%' token
   13 |       printf(%d" "%d" "%d,b,a,c);
      |              ^
a.cc:13:15: error: 'd' was not declared in this scope
   13 |       printf(%d" "%d" "%d,b,a,c);
      |               ^
a.cc:15:15: error: expected primary-expression before '<' token
   15 |    else if(b =< c && c =< a){
      |               ^
a.cc:15:25: error: expected primary-expression before '<' token
   15 |    else if(b =< c && c =< a){
      |                         ^
a.cc:16:14: error: expected primary-expression before '%' token
   16 |       printf(%d" "%d" "%d,b,c,a);
      |              ^
a.cc:16:15: error: 'd' was not declared in this scope
   16 |       printf(%d" "%d" "%d,b,c,a);
      |               ^
a.cc:18:15: error: expected primary-expression before '<' token
   18 |    else if(c =< a && a =< b){
      |               ^
a.cc:18:25: error: expected primary-expression before '<' token
   18 |    else if(c =< a && a =< b){
      |                         ^
a.cc:19:14: error: expected primary-expression before '%' token
   19 |       printf(%d" "%d" "%d,c,a,b);
      |              ^
a.cc:19:15: error: 'd' was not declared in this scope
   19 |       printf(%d" "%d" "%d,c,a,b);
      |               ^
a.cc:22:14: error: expected primary-expression before '%' token
   22 |       printf(%d" "%d" "%d,a,b,c);
      |              ^
a.cc:22:15: error: 'd' was not declared in this scope
   22 |       printf(%d" "%d" "%d,a,b,c);
      |               ^