a. Write a recursive C++ function write Line that writes a character repeatedly to form a line of n characters. For example, write Line('*' ,  5) produces the line ***** . b. Now write a recursive...


a. Write a recursive C++ function write Line that writes a character repeatedly to form a line of n characters. For example, write Line('*' ,  5) produces the line ***** .


b. Now write a recursive function write Block that uses write Line to write m lines of n characters each. For example, writeBlock('*' ,  5,  3) produces the output


*****


*****


*****

Nov 14, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here