RBC Interview Question

Print the pyramid triagnle in java