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
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.