Given an array of ints, return true if the number of 2's is greater than the number of 9's. more TwoNine([2, 9, 2]) → true more TwoNine([2, 9, 2, 9])→ false more TwoNine([2, 2]) → true For example: Test Result int[] nums = {9, 9, 9); false
System.out.println(moreTwoNine (nums)); Answer: (penalty regime: 0, 10, 20, 50, ... %) Reset answer 1 public boolean moreLowerUpper (int[] nums) { 2 // TODO your code goes here 3 }