i want a code such that i can be able to access each digit of a number.
in a for loop in 1 iteration,i want to access digits of 11^2ie 121 and in next iteration digits of 11^3 ie 1331 and in next 11^4 etc
i want to access 1,2 and 1 separately in 121.....
if we have 121 stored in an int variable,how can we transfer its value to an array?
now i want vlue of k(121) to go into a such that a=1,a=2 and a=1....and the value of k keeps changing in d loop,so i want corresponding change in a....
hope u get my point
thnx in advance...