Write a C++ program to find the most occurring number and how many times it occurs in the following example of array.
I want a simple solution.
Example:int x []= {3, 12, 8, 15, 9, 22, 23, 8};The output:The number most repeated is : 8 and it occurs 2 times









