#include <stdio.h>
#include <math.h>
int main() {
    int i,n,S=0;
    scanf("%d",&n);
    printf("Enter the value of n:%d",n);
    for(i=1;i<=n;i++)
   {
     S=pow(i,2*n)+S;
    
   }
    printf("\n");
    printf("S=%d",S);
    
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: