PROGRAMMING EXERCISE

Count the Threes

 

Write a program that will accept an integer from the user as input and then determine how many digits in that integer are threes. No string functions are permitted for this program; the problem must be solved arithmetically. Sample runs follow:

 

 

 

 

 

Download the solution for this project here.