Hi all,
I got a problem.I got to make a program that sorts the digits inside a number given by the user, but I can't use an array. I know that the easiest way is with the bubble sort but I can't seem to make a switch between two digits inside the number,let's say you need to change the position between the digits without using swap function. Can anyone give me some pointers? Thanks in advanced.