Checkpoint 1.11.1.
The function
eligibleForDiscount()
takes an integer input and returns a boolean. Complete the function by filling in the blanks so that it returns true when the age is less than 18 or greater than 60 and otherwise it returns false.public static boolean eligibleForDiscount(int age) {
return .....Blank.......... ;
}
Write your responses here:
Blank: