Question: Java Programming I need help writing a program that does the following for it's input and output as show in the example below: Here is
Java Programming
I need help writing a program that does the following for it's input and output as show in the example below:
Here is what the program needs to do (It's also reading in as a Scanner input = new Scanner(System.in);):

Here are the Instructions:


The input contains n lines for O
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
