logo image

JavaScript program to multiply given two numbers

Views: 14

Following program shows you how to multiply given two numbers. In this program we get inputs from user and multiplies those two inputs

var input1  = parseInt(prompt("Enetr first number:"));
var input2  = parseInt(prompt("Enetr second number:"));
var result = input1 * input2
console.log("Multiplication of given two numbers is: " + result);


Enetr first number:
Enetr second number:
Multiplication of given two numbers is: 200
We are looking for Interns!
Send your resumes to
[email protected]