I would use an array of ints. Then loop through the length of the array. Then the nested loop output the numbers from the end of the array back to the beginning using the first loop as the counter to denote how many elements need printing.
peter_budo commented: I do not fancy design of that site, but that idea of introducing OOP is good +7
no1zson commented: always trys to help +1