Loops/For

From Rosetta Code
Task
Loops/For
You are encouraged to solve this task according to the task description, using any language you may know.

Specifically print out the following pattern by using one for loop nested in another:

*
**
***
****
*****

C

for(i = 1; i <= 5; i++) { for(j = 1; j <= i; j++) putchar('*'); puts(""); }