Posted: September 3rd, 2023
a. Write a recursive method writeBlock (char, int, int) that uses the recursive method writeLine (char, int) to write m lines of n characters each. For example, writeBlock (‘ *’ , 5, 6) produces the following output:
*****
*****
*****
*****
*****
b. How would you modify the program to show the following output?
******
*****
****
***
**
*
Place an order in 3 easy steps. Takes less than 5 mins.