Hello everyone!
I have a specific C question that I have not been able to solve.
How do you count the number of particular numbers inside an integer variable?
For example:
int variable;
The user inputs 22222 into the variable.
The program displays "You entered five twos".
How do you do this without using arrays and that the user needs to enter 22222 at once?
Thanks!