Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Homework help. Counting the number of times an integer occurs in Array
Hey everyone! I figured I would go ahead and say hello since I am new to the site. Anyway. Here is my question:
Write a method that will find the number of occurrences of a specified integer in an array of integers. Assume that the array is full of valid data.
I am unsure of how to begin this program and have been staring at it for a couple hours trying to get everything worked out but nothing I am doing seems to work.
Any help would be great.