java program.
Exercise #4: Write a Java program that outputs the following pattern. The program should prompt the user to enter an odd number of lines (limit 1 to 1) For example, if the user enters the number of lines 5, then the output should be: Show transcribed image text
Expert Answer
An answer will be send to you shortly. . . . .