Shine.com interview question

Write a program to print upper right triangle?