Series Program- 2 15 41 80 132 197 275 366 470 587

Below is C program for Series Program- 2 15 41 80 132 197 275 366 470 587

Program:

/* Series Program-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;
}

No comments:

Post a Comment