AQA Computer Science A Level
While & Do While Loops
By Admin - Nov. 6, 2023, 11:16 a.m.
Last Edit - Nov. 6, 2023, 11:20 a.m.
This should include
- While loops will check the condition first
- Do..While loops will check the condition after the code is run once
- Syntax, ie
While( ) { .. }
or Do { .. } While( )
- Logical operators can be used
&&
is And, ||
is Or, and !
is not
- Examples of using them in your programs