Friday, 11 January 2019

Filled Under:

Pattern 10 using c[c programming examples with output]

C programming examples with output

Pattern
Program

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

Output

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

Best Budget Laptop For Web Developers 2019

Best Budget Laptop For Programmers: https://amzn.to/32GkrqC

0 komentar:

Post a Comment