Question: C++ Recursion Question: write a recursive function program that prompts the user to enter the number of lines in the pattern and uses the recursive
C++ Recursion Question:
write a recursive function program that prompts the user to enter the number of lines in the pattern and uses the recursive function to generate the pattern. For example, specifying 4 as the number of lines generates the below pattern.
It is very important that this is written as a recursive function and not a normal function.
commentated code would be appreciated as well. Thank You
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
