1.3.5.7+3.5.7.9+5.7.9.11+……….up to n’th term.

#include<stdio.h>
#include<conio.h>

void main()
{
    int n,i;
    long int s=0;
    clrscr();
    printf("Enter how many number you sum = ");
    scanf("%d",&n);
   
    for(i=1;i<=n;i++)
    s=s+(2*i-1)*(2*i+1)*(2*i+3)*(2*i+5);

    printf("Summation = %ld",s);
   
    getch();
}

///////////////////////////////////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........