a. Write a recursive Java method writeLine diat writes a character repeatedly to form a line of n characters. For example, writeLine (‘*’, 5) produces the line *****.
b. Now write a recursive method writeBlock that uses writeLine to writem lines of n characters each. For example,writeBlock('*',5,3) produces the output
*****
*****
*****
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.