#include <stdio.h>

int main() {
    int a, b, rows;

    printf("Enter the number of rows: ");
    scanf("%d", &rows);

    for(i = 1; a <= rows; a++) {
        for(b = 1; b <= a; b++) {
            printf("*");
        }
        printf("\n");
    }

    return 0;
}