Question: Exercise 2. Write a program that has a method called drawSquare (int size) that will print a square of an inputted symbol (e.g., # or
Exercise 2. Write a program that has a method called drawSquare (int size) that will print a square of an inputted symbol (e.g., # or +) of the given size. In the main method ask the user to enter a size and a symbol and then use these values to call the method from the main method. Include two different outputs showing two different square sizes and input types.

r----GRASP exec: java Lab8squaresizes Enter the size: 4 Enter a symbol: # jGRASP: operation complete
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
