Using a for loop:

Using a while loop:

Countdown

Extra credit