Computer Science, asked by Anonymous, 10 months ago

Explain the term while Loop? With Example ?


50 points

(:​

Answers

Answered by HariesRam
27

Answer:

  • A while loop is one of the most common types of loop.
  • The main characteristic of a while loop is that it will repeat a set of instructions based on a condition.
  • As far as the loop returns a boolean value of TRUE, the code inside it will keep repeating. ... while (number <= 10) {

❤️

Answered by SwaggerGabru
0

\huge\red{\underline{{\boxed{\textbf{QUESTION}}}}}

Explain the term while Loop? With Example ?

\huge\red{\underline{{\boxed{\textbf{ANSWER}}}}}

While loops are like if statements, then at the end they will go back to the beginging and execute the same if statement again. (do loops are the same except the first time they always evaluate to true)

"Normal" For loops go

For(variable init;while condition;update condition)

@HarshPratapSingh

Similar questions