Question: b. (5 marks) Write the main method to do the following: .Ask the user to enter how many rectangles he/she wants to draw For each

 b. (5 marks) Write the main method to do the following:

b. (5 marks) Write the main method to do the following: .Ask the user to enter how many rectangles he/she wants to draw For each rectangle do the following: Prompt the user to enter the length and the width of the rectangle. Read the length and the width - - Prompt the user to enter the character you want to fill the rectangle with. - Read the character. Call method draw to draw the rectangle. ava program package finalq3: import java.util. public class Final03 public static void main (String[ args)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!