So how do I find max and min value of group of numbers. Ex: The numbers are
int num[] = {1,2,3,4,5,6,7,8,9,2,2,2,2,2,};
The next things is how to find out how many times 2 appears in the array. This is what I think.
char a = "2"
int count = 0;
if (num.length = a) {
count++;
System.out.print (count);
}