Write a recursive method writeBlock (char, int, int) that uses the recursive method writeLine
Thehonest (Not rated)
(Not rated)
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?
******
*****
****
***
**
*
- 7 years ago
A+ Work
NOT RATED
Purchase the answer to view it
- hlo11.zip