



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An in-depth explanation of condition-controlled loops, a type of loop used in programming to execute a series of statements based on a specific condition. It covers the benefits of using condition-controlled statements, such as improved readability, efficient memory usage, and flexibility in handling repetitive tasks. The document also discusses three types of condition-controlled loops: while loop, do-while loop, and for loop, explaining their differences and uses. Authored by franchesca mae icaro, jecca sophia a. Lalusis, marcus lex padilla, anika sheine lajara, and other members.
Typology: Schemes and Mind Maps
1 / 6
This page cannot be seen from the preview
Don't miss anything!




A conditional controlled loop repeats a series of one or more Fortran statements based on a condition.
WHILE LOOP DO-WHILE LOOP^ FOR LOOP A condition-controlled loop that allows the loop to continue executing as long as a specific condition is true. The condition is evaluated before the loop body is executed, and the loop exits when the condition is false. Similar to a while loop, but the loop body is executed at least once before the condition is evaluated. This means that the loop will always execute at least once, even if the condition is false. A condition-controlled loop that allows the loop to continue executing for a specific number of iterations. The loop body is executed once for each iteration, and the loop exits when the number of iterations TYPES OF CONDITION CONTROLLED LOOPS