Question: Can someone please help me out with below provided JAVA code????? AS PER THE SAMPLE OUTPUT WE AS A USER DO NOT NEED TO ENTER
You will read in a two dimensional array of characters from the user. Each value will be either a plus sign ) or a minus sign (). There will be only one plus sign in the input. Your task is to output the row and column of the plus sign. Hint: To read in a single character, you can use the Scanner's next method and then get the first character, as shown here scanner 1n new scanner (system . 1n); string temp 1n . next ( ); char c = temp .charAt.(0); Example If the input is: The output would be: 1,6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
