Language: C++

#incude<iostream>

using namespace std;

int main()
{
	int n;
	cin>>n;

	if(n<=111) 
	{
		cout<<111;
		return 0;
	}
	else if(n>111&&n<=222)
	{
		cout<<222;
		return 0;
	}
	else if(n>222&&&n<=333)
	{
		cout<<333;
		return 0;
	}
	else if(n>333&&&n<=444)
	{
		cout<<444;
		return 0;
	}
	else if(n>444&&&n<=555)
	{
		cout<<555;
		return 0;
	}
	else if(n>555&&&n<=666)
	{
		cout<<666;
		return 0;
	}
	else if(n>666&&&n<=777)
	{
		cout<<777;
		return 0;
	}
	else if(n>777&&&n<=888)
	{
		cout<<888;
		return 0;
	}
	else if(n>888&&&n<=999)
	{
		cout<<999;
		return 0;
	}
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #incude; did you mean #include?
    1 | #incude<iostream>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:8:9: error: 'cin' was not declared in this scope
    8 |         cin>>n;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #incude<iostream>
a.cc:12:17: error: 'cout' was not declared in this scope
   12 |                 cout<<111;
      |                 ^~~~
a.cc:12:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:17:17: error: 'cout' was not declared in this scope
   17 |                 cout<<222;
      |                 ^~~~
a.cc:17:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:20:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   20 |         else if(n>222&&&n<=333)
      |                        ~~^~~~~
a.cc:22:17: error: 'cout' was not declared in this scope
   22 |                 cout<<333;
      |                 ^~~~
a.cc:22:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:25:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   25 |         else if(n>333&&&n<=444)
      |                        ~~^~~~~
a.cc:27:17: error: 'cout' was not declared in this scope
   27 |                 cout<<444;
      |                 ^~~~
a.cc:27:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:30:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   30 |         else if(n>444&&&n<=555)
      |                        ~~^~~~~
a.cc:32:17: error: 'cout' was not declared in this scope
   32 |                 cout<<555;
      |                 ^~~~
a.cc:32:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:35:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   35 |         else if(n>555&&&n<=666)
      |                        ~~^~~~~
a.cc:37:17: error: 'cout' was not declared in this scope
   37 |                 cout<<666;
      |                 ^~~~
a.cc:37:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:40:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   40 |         else if(n>666&&&n<=777)
      |                        ~~^~~~~
a.cc:42:17: error: 'cout' was not declared in this scope
   42 |                 cout<<777;
      |                 ^~~~
a.cc:42:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:45:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   45 |         else if(n>777&&&n<=888)
      |                        ~~^~~~~
a.cc:47:17: error: 'cout' was not declared in this scope
   47 |                 cout<<888;
      |                 ^~~~
a.cc:47:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:50:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   50 |         else if(n>888&&&n<=999)
      |                        ~~^~~~~
a.cc:52:17: error: 'cout' was not declared in this scope
   52 |                 cout<<999;
      |                 ^~~~
a.cc:52:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'