Loop Drills

Write a “for” loop that prints out the numbers form 1 to 10.

Write a “for” loop that prints out the numbers form 1 to 10 in reverse order.

Write a “while” loop that prints out the even numbers from 1 to 20

Write a “while” loop that prints out the odd numbers from 21 down to 1

Write a Do While loop that prints out the numbers that are divisible by 5

Between 7 and 39