In this exercise, you will use a recursive algorithm to display a visual pattern of stars based on input from the user. User will input an integer value between 2-20 as a starting point for the visual pattern display. The algorithm will display the number of stars requested by the user on the first line. The algorithm will start the next lines with n-1, n-2, n-3....stars per line until it reaches zero. Debug the syntax and logic errors. An example of the program is shown below: Enter a number between (2-20) for the first row display 5 * * * * * * * * * * * * * * *



Answer :

Other Questions