Question: write a progarm java SAMPLE INPUT/OUTPUT Enter number of lines: 4 Question 3 (13 Points) Write a program that reads the number of lines of

write a progarm
java
SAMPLE INPUT/OUTPUT Enter number of lines: 4 Question 3 (13 Points) Write a program that reads the number of lines of a printed shape. If the number of lines is negative, convert it to positive. The program is required to print on each line some *'s followed by the line number. See the sample input/output on the right for an example of a shape consisting of 4 lines. ****1 ***2 **3 *4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
