1) Read the number.2) Keep the remainder of the division to 10 in a container.3) Divide the current number by 10.4) Keep going until the current number becomes 0.5) Print contents of container in reverse order.