In this lab, you will implement the anyOF(), allof(), and noneof() algorithms in Java. For each one, you will implement a
version for integers, and one for String s.
Here are the descriptions of each function:
boolean anyOf(int[] a, int value)
boolean anyOf(String[] a, String value)
anyOf() returns true if any element of array a is equal to value, and false otherwise.
boolean allof(int[] a, int value)
boolean allof(String[] a, String value)
allOf() returns true if every element of array a is equal to value, and false otherwise.
boolean noneOf(int[] a, int value)
boolean noneof(String[] a, String value)
noneOf() returns true if no element of array a is equal to value, and false otherwise.
See Main.java for instructions on running the tests, along with some example input and output.
Do NOT edit Main.java or InputUtils.java.