Help with count

+1 bryant anderson · November 3, 2014
i have a code so far that numbers entered by used and displays them in order i just cant figure out on how to search through the array and figure out how many times it was entered and display the count next to the number

Post a Reply

Replies

Oldest  Newest  Rating
0 You knees · November 3, 2014
can you post here your codes? 
0 Mayur Joshi · November 19, 2014
are you familiar with concept 'search algorithms'? try linear search on your scanned array. increment a variable each time element is found, display it, simple!!
if you want to sort those in order too, then learn sorting algorithms too like bubble sort.
  • 1

C

124,646 followers
About

One of the most popular languages of all time.

Links
Moderators
Bucky Roberts Administrator