الرجوع
تسجيل الدخول

What is the problem in the following code if the input is 5 10

Scanner scanner = new Scanner();
 int x = scanner.nextInt(); 
int y = scanner.nextInt();
 System.out.println(x + y);