Write an application that displays triangle patterns serperately, use a GUI to obtain a user input choice a, b, c, or d Use for loops to generate the patterns. When the user inputs the letter the triangle is drawn. Use astericks (*) should be printed by a single statement of theform System.out.print(‘*’); which causes the astericks to print side by side. the triangle should look like this based on the letter inputed