Home>
package Main;
    import java.util.Scanner;
    public class Main {
        public static void main (String [] args) {
            Scanner scanner= new Scanner (System.in);
            int a, b;
            a= scanner.nextInt ();
            b= scanner.nextInt ();
            if (a >
 b)
                System.out.println ("Liczba wieksza z liczb a="+ a + "i b="+ b + "jest liczba a");
            else
                System.out.println ("Liczba wieksza z liczb a="+ a + "i b="+ b + "jest liczba b");
        }
    }

Debug:
>
 Task: run
Listening for transport dt_socket at address: 5005
Exception in thread "main" java.util.NoSuchElementException
    at java.base /java.util.Scanner.throwFor (Scanner.java:937)
    at java.base /java.util.Scanner.next (Scanner.java:1594)
    at java.base /java.util.Scanner.nextInt (Scanner.java:2258)
    at java.base /java.util.Scanner.nextInt (Scanner.java:2212)
    at Main.Main.main (Main.java:35)
>
 Task: run FAILED