I want to create 16 different variables named numx, x representing the numbers 1-16. I've tried this loop
for (int x = 16; x > 0; x--){
}
but I can't figure out what to put inside the loop to make it work. To define each number, I would want numx = fullNum%10
followed by
fullNum -= numx;
fullNum /= 10;
so the loop could move on to the next variable with one less digit (i.e. 16-15, 15-14, 14-13, etc).