Doubt regarding a challenge

how can i separate a no. in digits but not in reverse order?
for ex:
the no. 12345 is to be separated as 1,2,3,4,5 and not as 5,4,3,2,1

@himanshuep32 you can use array to store the reminder then do apply a iterative loop on a array and print the array

@himanshuep32 you can use this program
go to this link