A+ Work





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?

******

*****

****

***

**

*