/*
    LOOP PRACTICE - Star pattern
    ----------------------------
    Use a for loop to print 5 rows of stars.
    Row 1 has 1 star, row 2 has 2 stars, ... row 5 has 5 stars.
    (Use a nested for: outer loop = rows, inner loop = stars per row)
*/

#include <stdio.h>

int main(void) {
    int row;
    int col;

    for (row = 1; row <= 5; row++) {
        for (col = 1; col <= row; col++) {
            printf("*");
        }
        printf("\n");
    }

    return 0;
}
