Question: 5.12 Method Warm up: Rectangle 1 Prompt the user to enter two integers for length and width, and one char (example #) 2 Complete the

 5.12 Method Warm up: Rectangle 1 Prompt the user to enter

5.12 Method Warm up: Rectangle 1 Prompt the user to enter two integers for length and width, and one char (example #) 2 Complete the drawRectangle method, which displays a rectangle filled with the character entered by the user example, the rectangle's dimension is defined by the length and width from user input Ex The output after user input of 23# Enter two integers and one symbol: 2 3 # LAB ACTIVITY 5121 Method Warm up Rectangle 0/3 Rectangle.java Load default template... 1 isport java.util.Scanner 3 public class Rectangle t 4 public static void main(Stringt] ares) ( Scannerscnr-new Scanner(Systen. n); int a, b char symbol; " Type your code here. drawRectanglel, b, symbol) /* Type your code here: drawectangle method 12 14 15 16

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!