Answer the question
In order to leave comments, you need to log in
Multiplication table, are there jambs in the code?
Hello, I wrote a simple program that multiplies two numbers and displays the result. Wrote in VScode and it doesn't work there, displays "Unrecognized request: { _request: evaluate }". And in netBeans, the code works well and without jambs.
Could you guys tell me what's wrong with the code? I will be grateful!
import java.util.Scanner;
public class Tabl {
public static void main (String [] args) {
Scanner sc = new Scanner(System.in);
int number, i;
System.out.println("Please enter number");
number = sc.nextInt();
System.out.println("Please enter number");
i = sc.nextInt();
System.out.println(number + " * " +i+ " = " +number * i);
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question