241,539 views
24 votes
24 votes
We use loops to: Process Numeric Data Ask users to enter information Repeat blocks of code Ask True/False questions

User HGS Labs
by
3.3k points

1 Answer

20 votes
20 votes

Answer:

Repeat blocks of code.

Step-by-step explanation:

EXAMPLE JAVASCRIPT LOOP CODE

_________________________________________________________

INPUT:

while(true){//Check If bool True=True

console.log("Hello World!")

}

_________________________________________________________

OUTPUT:

Hello World!

Hello World!

Hello World!

Hello World!

Hello World!


\cdots

Hello World!

Hello World!

User Makim
by
1.8k points