Hello people, now I'm learning array.
I now know how to count integers with while loop
but I'm not sure how to count the integers with array.
so the question is:
1. program should keep reading integers as long as the integers are within [0,9999]
2. when user typed the integer not between 0 to 9999, the program print out the numbers of integers that were typed.
Sample
3
3
3
9999
9999
-1
You entered 3 3 times.
You entered 9999 2 times.