+ 1

What is the wrong in this code ?

import java.util.Scanner; public class Program { public static void main(String[] args) { Scanner myObj = new Scanner(System.in); int pupils = myObj.nextInt(); int pencils = myObj.nextInt(); //your code goes here System.out.printIn(pupils*pencils); } }

11th Jan 2022, 9:23 AM
Abdalla Elmetwalli Sewilam
1 Answer