Write a program to draw the following pattern based on the h…
Write a program to draw the following pattern based on the height given by the user. The user will always enter a positive number. h = input (‘Enter the height of the pattern : ‘); Test Case 1: Enter the height of the pattern : 3* * * * * Test Case 2: Enter the height of the pattern : 7* * * * * * * * * * * * * * * * * * * * * * * * *