Question: 2. Examine this pattern of asterisks and blanks. Write a recursive method that can generate exactly this pattern, Write the complete demo program to test
2. Examine this pattern of asterisks and blanks. Write a recursive method that can generate exactly this pattern, Write the complete demo program to test your recursive method. Your recursive method shouldbe capable of producing larger or smaller patterns of the same variety. Also, demonstrate that in the output of the program. Comment. in your program how this pattern is a fractal. With recursive thinking the method needs only 7 or 8 lines of code (including 2 recursive calls)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
