Language: C++

#inciude <iostream>

using namespace std;

int main ()

{
 int a,b,c;
 
 cin a>>b>>c;

 if(a<b && b<c)
 cout <<a<<" "<<b<<" "<<c<<endl;
 else if(a<c && c<b)
 cout <<a<<" "<<c<<" "<<b<<endl;
 else if(b<a && a<c)
 cout <<b<<" "<<a<<" "<<c<<endl;
 else if(b<c && c<a)
 cout <<b<<" "<<c<<" "<<a<<endl;
 else if(c<a && a<b)
 cout <<c<<" "<<a<<" "<<b<<endl;
 else
 cout <<c<<" "<<b<<" "<<a<<endl;

return 0;
}







Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inciude; did you mean #include?
    1 | #inciude <iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:10:2: error: 'cin' was not declared in this scope
   10 |  cin a>>b>>c;
      |  ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inciude <iostream>
a.cc:13:2: error: 'cout' was not declared in this scope
   13 |  cout <<a<<" "<<b<<" "<<c<<endl;
      |  ^~~~
a.cc:13:2: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:13:28: error: 'endl' was not declared in this scope
   13 |  cout <<a<<" "<<b<<" "<<c<<endl;
      |                            ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inciude <iostream>
a.cc:15:2: error: 'cout' was not declared in this scope
   15 |  cout <<a<<" "<<c<<" "<<b<<endl;
      |  ^~~~
a.cc:15:2: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:15:28: error: 'endl' was not declared in this scope
   15 |  cout <<a<<" "<<c<<" "<<b<<endl;
      |                            ^~~~
a.cc:15:28: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:17:2: error: 'cout' was not declared in this scope
   17 |  cout <<b<<" "<<a<<" "<<c<<endl;
      |  ^~~~
a.cc:17:2: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:17:28: error: 'endl' was not declared in this scope
   17 |  cout <<b<<" "<<a<<" "<<c<<endl;
      |                            ^~~~
a.cc:17:28: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:19:2: error: 'cout' was not declared in this scope
   19 |  cout <<b<<" "<<c<<" "<<a<<endl;
      |  ^~~~
a.cc:19:2: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:19:28: error: 'endl' was not declared in this scope
   19 |  cout <<b<<" "<<c<<" "<<a<<endl;
      |                            ^~~~
a.cc:19:28: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:21:2: error: 'cout' was not declared in this scope
   21 |  cout <<c<<" "<<a<<" "<<b<<endl;
      |  ^~~~
a.cc:21:2: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:21:28: error: 'endl' was not declared in this scope
   21 |  cout <<c<<" "<<a<<" "<<b<<endl;
      |                            ^~~~
a.cc:21:28: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:23:2: error: 'cout' was not declared in this scope
   23 |  cout <<c<<" "<<b<<" "<<a<<endl;
      |  ^~~~
a.cc:23:2: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:23:28: error: 'endl' was not declared in this scope
   23 |  cout <<c<<" "<<b<<" "<<a<<endl;
      |                            ^~~~
a.cc:23:28: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'