Amdocs Interview Question

Write a Java program that prints a right triangle using asterisks (*). The height of the triangle should be entered by the user.