Accenture interview question

Print right angle triangle pattern with * only. Using for loop.