Avatar

Correct answer by
Level 10

Had a look at your code and you ended the for loop before you ran all of your tests. The if statements musty be inside the for loop. I modified your code (reformatted it a bit so it is easier to read) and included it here.

Paul

View solution in original post