Course Solutions Uncategorized (Solved) : 1 Write Method Draws Solid Box Use Inside 2d Array Chars Method Passed Array Starting Posi Q26570922 . . . .

(Solved) : 1 Write Method Draws Solid Box Use Inside 2d Array Chars Method Passed Array Starting Posi Q26570922 . . . .

 

1. Write a method that draws a “solid” box (use *) inside a 2Darray of chars. The method is passed the array, the startingposition of the box (top and left), and the size (width andheight). Make sure the method does not go outside the 2D array.

Example: 2D array of size 6 rows x 14 columns – AddBox(array, 4,2, 3, 3) – at (4,2) size 3 x 3

                            *********

2. Write a separate method that displays the 2D array on theconsole. You don’t need to draw the grid – just draw the *’s.

3. Create the array in the main routine and pass it

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post