Computer Science, asked by henanahid, 1 year ago

input a no. and print it 10 times using loop

Answers

Answered by lalla129
1
the loop will run until it reaches the stop condition, each time the loop runs, everything inside the curly brackets is executed.

for (start; stop; how much to change each time)

for(i=1;i<=10;i++) { console.log("your name"); }

everything inside the curly brackets will run 10 times


íƒ ԵհíՏ հҽӀԹժ վօմ Եհҽղ ʍɑɾƘ íԵ ҍɾɑíղӀíҽՏԵ...
Similar questions