Search C Program

Loading...

Series Program 11

2 15 41 80 132 197 275 366 470 587
int main()
{
    int a=2,i,n=10;
    for(i=1;i<=n;i++)
    {
        printf("%d ",a);
        a+=13*i;
    }
    return 0;
}


Related Links:
- More Series Programs
- Number Pattern Programs
- Star Pattern Programs in C
- Alphabet Pattern Programs in C

No comments:

Post a Comment