/*Siriz calculation C program*/
#include "stdio.h"
#include"conio.h"
void main()
{
clrscr();
int sum=0,n;
printf("Enter the value of=n");
scanf("%d",&n);
for(int i=1;i<=n;i=i+2)
sum+=i*i;\\
sum=sum+i*i;
printf("Total=%d",sum);
getch();
}
This is a Siriz
Calculation C Program. If you need this program you can get it.
#include "stdio.h"
#include"conio.h"
void main()
{
clrscr();
int sum=0,n;
printf("Enter the value of=n");
scanf("%d",&n);
for(int i=1;i<=n;i=i+2)
sum+=i*i;\\
sum=sum+i*i;
printf("Total=%d",sum);
getch();
}
This is a Siriz
Calculation C Program. If you need this program you can get it.
No comments:
Post a Comment
Thank you for visit this site. You will get many programming news from here and learn programming very easily.