Question: The code box below contains a live 2D rectangular array of characters (char) called someChars. Write a looping statement that allows you to calculate, and
The code box below contains a live 2D rectangular array of characters (char) called someChars. Write a looping statement that allows you to calculate, and then print to the console, the number of entries in the array that are (lower case) 'x'. For example, if the array looks like this: x o o x y y y x p q then your code should print 3 to the console. The answer you enter should execute exactly one System.out.println statement. Enter your code in the box below.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
