Hey everyone!
I was working on this program and I came upon a problem.
When the user inputs:
85
I want it to be broken up into "8" and be stored in a variable, and into a "5" and be stored into a variable.
Another example would be: 74.
The the variable a = 7;
and the variable b = 4;
I thought of everything but I cant figure out a simple way of doing this.
If you can give any help, I will appreciate it!
Thank you,