Write a function that returns the numbers

  

Write a function that returns the numbers of occurrences of an integer X in an array of n integers.

How many integers you want to enter: 8

Enter the numbers: 10 8 200 8 1 0 5 8

Which of the number you want to find its occurrences: 8

8 occurs 3 times

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount