Day 28: Multiplication Table of N Numbers of 100DaysCodingChallenge
Hello all,
I have started the 100 days of coding challenge to improve my programming skills..
Today is the Day28 of 100DaysCodingChallenge for
Multiplication Table of N Numbers input Numbers taken by the user.
Code :
let n = prompt("Enter N : ");
let t;
console.log("The Multiplication Table of ", n, " is : ");
for (let i = 1; i <= 10; i++) {
// console.log("i ", i);
t = i * n;
console.log(n + " * " + i + " = " + n * i);
}
// console.log(t);Output :
Happy Coding:)

Comments
Post a Comment