Hi,
I have a little problem. I need to write a function that will be given a number (with unknown number of digits) and it will search the number for similar neighboring digits.
I must say that I'm not allowed to use arrays (unfortunately).
I thought of disassembling the number to it's digits in a loop, but i don't have a clue how it's possible...
please help...