Given an int array values and an int variable target determine how many times the value of target appears in values and print this value out.
int
values
target
Note that values may be empty.
For this problem we're expecting just a snippet of codeāso don't provide a method or class declaration.
Stuck? You may find these lessons helpful: