How do I strip down integers for future manipulation?
Ok, so here is the deal.
Part of an assignment is to take a long number like
and strip it down to
ints like 1 2 3 8 etc...
but we won't be using arrays since we did not learn this yet in class.
So my question is how would I separate the numbers?
Would using modulus do it? if so, would I have to declare all the individual ints?
I need to do this in order to then do various conditional statements to the integers and to add them up.
Suggestions are welcome, thank you.