0

um i was wondering if anyone could help me with a program where if the user inputs a number no more than 5 digits and the program tells you how many times the number 2 appears in that number.

i know that the modulus and division have to be used but i dont know how to set that part up

can someone help??

thanxxxx