Monday, July 29, 2019

Numeric Pattern5

Numeric Pattern5:





10101
10101
10101
10101
10101

#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("%d",j%2);
}
printf("\n");
}
getch();
}


EmoticonEmoticon