Java Program to multiply two numbers

Get two integer numbers, multiply both the integers and display the product.

Sample Input 1:

5 6

Sample Output 1:


Sample Input 2:

65 10

Sample Output 2:


Program or Solution


Program Explanation

Get two integers Input1 and Input2 (using scanner class) multiply Input1 and Input1, then store the product in mul (mul=Input1*Input2) print the value of mul (using system.out.println)

Tech Events