You are given an array of chars and a boolean variable called upper. If upper is true, return the number of characters t
Posted: Sat May 14, 2022 4:09 pm
You are given an array of chars and a boolean variable called upper. If upper is true, return the number of characters that are upper case. If upper is false, return the number of characters that are lower case. upperLower(["a", "A"], true) - 1 upperLower(["a", "A"], false) - 1 upperLower(["a", "A", "A"], true) - 2 Go ...Save, Compile, Run (ctrl-enter) public int upper Lower (String[] letters, boolean upper) {