Problem:
Question- Write a program that reads data into an array of type int. Valid values are from 0 to 10. Your program should display how many valid values were inputted as well as the number of invalid entries.
Output a list of distinct valid entries and a count of how many times that entry occurred.
Please show code with comments so I can follow what you are doing.