Language: Java

import java.util.*;

public class Main {
    public static void main(String[] args){

        Scanner sc = new Scanner();

        int twoFilter = 100;
        int threeFilter = 1000;
        int fourFilter = 10000;
        int fiveFilter = 100000;
        if (sc < twoFilter) {
            System.out.println(sc);
        } else if (sc < threeFilter) {
            System.out.println(sc-100);
        } else if (sc < fourFilter) {
            System.out.println(sc-100);            
        } else if(sc < fiveFilter) {
            System.out.println(sc-10100);
        } else {
            System.out.println(90909);         
        }

    }
}

Compiler output:
Main.java:6: error: no suitable constructor found for Scanner(no arguments)
        Scanner sc = new Scanner();
                     ^
    constructor Scanner.Scanner(Readable,Pattern) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Readable) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,CharsetDecoder) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,Charset) is not applicable
      (actual and formal argument lists differ in length)
Main.java:12: error: bad operand types for binary operator '<'
        if (sc < twoFilter) {
               ^
  first type:  Scanner
  second type: int
Main.java:14: error: bad operand types for binary operator '<'
        } else if (sc < threeFilter) {
                      ^
  first type:  Scanner
  second type: int
Main.java:15: error: bad operand types for binary operator '-'
            System.out.println(sc-100);
                                 ^
  first type:  Scanner
  second type: int
Main.java:16: error: bad operand types for binary operator '<'
        } else if (sc < fourFilter) {
                      ^
  first type:  Scanner
  second type: int
Main.java:17: error: bad operand types for binary operator '-'
            System.out.println(sc-100);            
                                 ^
  first type:  Scanner
  second type: int
Main.java:18: error: bad operand types for binary operator '<'
        } else if(sc < fiveFilter) {
                     ^
  first type:  Scanner
  second type: int
Main.java:19: error: bad operand types for binary operator '-'
            System.out.println(sc-10100);
                                 ^
  first type:  Scanner
  second type: int
8 errors