Write a program that generates 100 random integers between 0 and 9 and displays the count for each number.
Hints:
Use rand() % 10 to generate random numbers from 0 … 9, and create an array to store the count of each number.
Create an array[100],using a loop fill the array with 100 random numbers from 0 to 9 rand() % 10.
Create another counter array with a size of 10 to capture the counts of each number
Use a for-loop to go through the array and increment the values of the array corresponding to the random values. (i.e. if the random number is 9, you should do counter[9]++, where counter[0] stores the count for zero, counter[1] stores the count for 1, etc.