JavaScript Program to Print Table of a Given Number

Write a JavaScript program to print table of a given number. In this program user is ask to enter the integer number after that it get the table of given number.

Source Code

	<title>Print table of given number</title>
<h3>Table of given number </h3>
  var n = prompt("Enter the number", "1");
  n = parseInt(n);
  for(var i=1; i<=10; i++)