Write a program that reads the integers between 1 and 100 and counts the occurrences of each.

Question:

Write a program that reads the integers between 1 and 100 and counts the occurrences of each. Assume the input ends with 0. Hereis a sample run of the program:image

If a number occurs more than one time, the plural word ?times? is used in the output.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: