I have an int array:
{1,2,4,2,3,5,6,4,3}
How can I find frequencies of array elements like 1=1,2=2,3=2,4=4... I need a class w
You have to do a few things:
If this is done in a simple manner, it could be only a matter of reading the elements from the passed-in array and printing out the final result.