count the number of the same intries in a series number

susiede (9)
hello everyone can someone help me about array plsss i really need help right now

using one-dimensional array. create a program that will count the number of the same intries in a series number based on the user specific no. to count
EXPECTED output
Enter no.1:2
Enter no.2:1
Enter no.3:1
Enter no4:2
what number to v=count?1
total number 1 is 2

should use a counter

thank you for reading this...
pleasss help me
Registered users can post here. Sign in or register to post.