Challenge 1Print the following pattern of stars(*) using loops, when user enter only the base of outer triangle
Example
----------------------------------------------------------------------------------------------------------
Challenge 2Print the following pattern of stars(*) using loops, when user enter width and height of rectangle
Example
-----------------------------------------------------------------------------------------------------------