C program to print the series 1 5 9 13,....... up to 10th terms
#include<stdio.h>
#include<conio.h>
main()
{
int term=1,i;
for(i=0;i<10;++i)
{
printf("%d\t",term);
term=term+4;
}
getch();
}
No comments:
Post a Comment