FastFoodCoding

Login


Connect with one of the following accounts





Login

Please wait while we redirect...

Views: 64   



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);

Output:

Enetr first number:
10
Enetr second number:
20
Multiplication of given two numbers is: 200



On By


Top Tutorials

Top Questions

Top Articles

Top Blogs

Top News