Write a function that returns the numbers

VerifiedEducator
 (Not rated)
 (Not rated)
Chat

  

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

    • 4 years ago
    Answer Attached
    NOT RATED

    Purchase the answer to view it

    • output.doc