Just start from the function you used to print your numbers in the right order, but reverse it. Start from the back and move to the front. The code is really similar all you have to do is change your starting point.