NexSoft Jakarta interview question

How to create triangle like object by using single character and using loops?