Write a program to find the sum of the series in arm
Answers
Answered by
0
#include <studio.h>
#include <conio.h>
void main ( )
{
clrscr ( );
int I,n;
printf ("enter the any number");
scanf ("%d"\n"&n);
for (i=0:i<=n:i+2)
{
printf ("%d\n",i);
}
getch ( );
}
#include <conio.h>
void main ( )
{
clrscr ( );
int I,n;
printf ("enter the any number");
scanf ("%d"\n"&n);
for (i=0:i<=n:i+2)
{
printf ("%d\n",i);
}
getch ( );
}
Similar questions