I wrote this program using JavaScript to ask the user to give two numbers and then the program will compute the product of two numbers and display the results using an alert dialog box in JavaScript.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.


Sample Program Output
Sample Program Output

Program Listing


   <title>Product of Two Numbers in JavaScript</title>
      body {
       font-family: arial;
       font-size: 20px;
       font-weight: bold;
function product(){
var num1=document.form.text1.value;
var num2=document.form.text2.value;
var sum=Number(num1)*Number(num2);
alert("The product between " + num1 + " and " + num2 + " is " + sum + ".");
<form name="form"><br>
	<h4>Product of Two Numbers in JavaScript</h4>
<td>Enter First Number:</td>
<td><input type="text" name="text1"></td>
<td>Enter Second Number:</td>
<td><input type="text" name="text2"></td>
<td><input type="button" value="Solve For Product" onclick="product();"></td>

Leave a Reply

Your email address will not be published. Required fields are marked *