C++ Recursion Question:
write a recursive function program that promptsthe user to enter the number of lines in the pattern and uses therecursive function to generate the pattern. For example, specifying4 as the number of lines generates the below pattern.
It is very important that this is written as a recursivefunction and not a normal function.
commentated code would beappreciated as well. Thank You
Show transcribed image text
Expert Answer
An answer will be send to you shortly. . . . .