Iteration: while for - tstorrnetnz/teaching2022 GitHub Wiki

Learning Aims - Use loops to repeat tasks

For you to do:

This week we will look at repetition using for loops. Anatomy of a for loop

Useful resources to help you out include:

Problem 31 is a bit more difficult.

Note that I am leaving you to explore while loops for yourself - they are quite a bit easier.

Anatomy of a while loop Extension work: OUWB problems 9 & 10 on pg 86 https://www.codesdope.com/practice/java-loop-loop-loop/ both the Level 1 and the Level 2 problems