Monday, May 28, 2018

Ascending Triangle: C Code by MUBIN

#include<stdio.h>
main()
{
    for(int i=1;i<=5;i++)
    {
        for(int j=1;j<=i;j++)
        {
            printf("*");
        }
        printf("\n");
    }
}


No comments:

Post a Comment