1. Iterative Control While loops and for loops 2. Thewhile loop This is the form of thewhileloop: while ( condition )statement; If theconditionistrue , thestatementis executed,…
Slide 1 Additional control structures Slide 2 The if-else statement The if-else statement chooses which of two statements to execute The if-else statement has the form: if…