Friday, 11 January 2019

Filled Under:

Pattern 1 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<=5;j++)
         {
            printf("*");
         }
            printf("\n");
      }
       getch();
}

Output:

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

0 komentar:

Post a Comment