JAVA:

I need to make a function where the user inputs two numbers and then it calculates the product. Then call the function.

When I try to run this code, it says error cannot find symbol.

Can’t figure out why it’s saying that.

JAVA I need to make a function where the user inputs two numbers and then it calculates the product Then call the function When I try to run this code it says e class=

Respuesta :

Answer:

There may be with your scanner on line 17? Change the name of your scanner to scan since nextInt is the correct method or parenthesis in 24?

Explanation:

Scanner scan = new Scanner(System.in);  // Create a Scanner object

Otras preguntas