int d = 97, 98, 71, 50, 82;
The purpose of this code is to print the number of students who passed this class (print values of 60 and above). In our case the output should be "5" but I have no idea how to achieve this. I tried a conditional statement but this seem rather difficult with the arrays being involved.
Any ideas? Should I try ArrayList?