6 11 21 36 56 81
Code:
a=6;
for(i=0;i<=5;i++)
{
a+=i*5;
printf("%d ",a);
}
for(i=0;i<=5;i++)
{
a+=i*5;
printf("%d ",a);
}
More Pattern Programs:
Best gifts for Christmas Day | Greeting cards for Christmas Day | Gift your children a new gift on Christmas day This Christmas d...