Let's put your loop skills to work by building a program that prints times tables.
Ask the user for a number, then print its times table from 1 to 10.
For example, if the user enters 5, your program should print:
5 times 1 is 5 5 times 2 is 10 5 times 3 is 15 ... 5 times 10 is 50
The loop and the counter variable are already set up for you. Inside the loop, multiply num with count to get the product, and use console.log to print each line of the times table.
No variables
Output (Console)