Computer Science, asked by themonotonuspan, 1 year ago

What is Pre-Tested loop?

Answers

Answered by Pratikhero
4
Because the while loop checks the condition/expression before the block is executed, the control structure is often also known as a pre-test loop. Compare this with the do while loop, which tests the condition/expression after the loop has executed.

themonotonuspan: Thanks
Answered by aditikanwadkar
1

Answer:

A pre-test loop is one in which the loop condition is tested before entering the loop. There are several popular variations of the pre-test loop. The most common of these is the While Loop. It first checks to see if counter is outside the valid range, and only if that condition is true, we will carry out the loop body.

mark me Brainliest!!

Similar questions