I have this exercise :
Make a programm where the user enters a number and the programm reverse the number.
I must work with 2 ,3, 4 or more numbers.
Hint : Use a do loop that repeatly divides with 10 stopping when it reaches 0.
Now im thinking how I can store the numbers.
Normally I would use a array but that's chapter 8 and im working in chapter 5.
Pointers are later discussed in the book.
Now I wonder how I can store the numbers. I can make a variable number 1 , number2 and so on but I don't know how big the number is that the user enters.
Anyone with a idea ?