I am trying to come up with a program that converts a number
say:-
1359 and the program turns it into £13.59.
I know of the atoi function that converts a string into a number
but i want to do the opposite so that i can convert
int num=1359;
int numArray[]=function(num);
so that numArray[0] =1
numArray[1]=3
numArray[2]=5
numArray[3]=9
does such a function exist or am i approaching the problem all
wrong here?
Any help appreciated!