- 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 51 times
3. Write a recursive function rectangle(int n) that prints a rectangle with n rows and 10 columns. Use the following mai
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
3. Write a recursive function rectangle(int n) that prints a rectangle with n rows and 10 columns. Use the following mai
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.