(3 secs) I leave the result of this code as an exercise to the reader.
Don't worry, I've left a typo in so that it shouldn't do any damage.
Anyway, how can you fix this?