Page 1 of 1

3. Write a recursive function rectangle(int n) that prints a rectangle with n rows and 10 columns. Use the following mai

Posted: Fri Jul 01, 2022 5:37 am
by answerhappygod
3 Write A Recursive Function Rectangle Int N That Prints A Rectangle With N Rows And 10 Columns Use The Following Mai 1
3 Write A Recursive Function Rectangle Int N That Prints A Rectangle With N Rows And 10 Columns Use The Following Mai 1 (26.85 KiB) Viewed 52 times
3. Write a recursive function rectangle(int n) that prints a rectangle with n rows and 10 columns. Use the following main function: int main() ( Output: cout << rectangle(5) << endl; return 0; ******** THE ABOVE are all problems you already did, rewrite them so that the outputs shown are instead saved to different .txt files, this file should be named in.txt, afterwards read in.txt and output the data read to out.txt.