using do while statement write the JavaScript code to print tables of numbers from 1 to 10
Answers
Answered by
1
Answer:
====>To print the numbers from 1 to 10,
- We will declare a variable for loop counter (number).
- We will check the condition whether loop counter is less than or equal to 10, if condition is true numbers will be printed.
- If condition is false – loop will be terminated.
Similar questions