Hi there. Im new here.
I have som very little code:
public void frequency(int [] arr){
int arr[] = {2,5,2,9,7,1,100,2,3,5,7,7,9,1,2,6,5};
Now I have to make an algorithm to show how many times each number is in the array and show the index as well.
Any ideas to the a good easy way?
Im totally lost here.