Practice pieces
Loops: odd/even
Ok, so here's the simplest way of doing this:
Can you finish this off by:
1) Getting the loop to only print the odd numbers?
2) Getting the loop to only print the odd numbers divisible by 3?
Ok, so here's the simplest way of doing this:
Can you finish this off by:
1) Getting the loop to only print the odd numbers?
2) Getting the loop to only print the odd numbers divisible by 3?