For example, if I have an array of 5 inputted elements, how would I count how many times a specific value was entered if that value has already been established in a variable.
INPUT:
4
4
4
1
2
If click
is defined as 4
then how would I count how many times click
is used in the array?
Hopefully that makes sense.
Thanks