Entire Course Link
Use the following code:
public class SyntaxError
public static void main(String args)
System.out.println(Enter two numbers to multiply.)
Scanner keyboard = new Scanner(System.in);
n1 = keyboard.nextInt();
n2 = keyboard.nextInt();
int product = n1 * n2;
System.out.println(“The product is ” + product);
Find and fix the error.
Compile and run the fixed program.
Take a screenshot of the result.
Paste your screenshot into a Microsoft® Word document that includes the following:
Submit your document using the Assignment Files tab.