Accenture Interview Question

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