I need help creating a prog. in C that can count the occurrence of numbers. The prog. should go like this:
Enter input 1 = 223335
Enter input 2 = 2
Output = The number 2 appears twice in "223335".
The first input can be any 6 numbers and the second input should only be 1 number.
Could someone help me out?