code to explanationTue, 21 Feb 2023
Write a program in Java that display a Triangle in reverse using method as shown below. Start program with asking input as “Enter the Height of Triangle”.
Enter the Height of Triangle: 5 * * * * * * * * * * * * * * *