<html>
<head>
<title>Table Of Any Number</title>
<script>
function table(){
var number = parseInt(document.getElementById("number").value);
var count = 1;
while(count<=10){
var total = number*count;
document.write(total+"<br>");
count++;
}
}
</script>
</head>
<body>
<input type = "text" id = "number" placeholder = "Enter Any Number">
<input type = "button" onclick = "table()" value = "Print">
</body>
</html>
Choose the right course and start building your future with practical skills.
Learn HTML, CSS, JavaScript, and PHP to build modern, responsive websites and real-world projects.
Enroll Now See Full Details
Understand electronics basics with hands-on breadboard projects and circuit building techniques.
Enroll Now See Full Details
Step into AI with real-world applications, automation tools, and smart development techniques.
Enroll Now See Full Details