43./*Write
a program to print this Series :-
1 3 5 7 9………….20
#include<stdio.h>
#include<conio.h>
main()
{
int i;
clrscr();
for(i=1;i<=20;i=i+2)
printf("\n %d",i);
getch();
}
OUTPUT
1 3 5 7 9
………19
No comments:
Post a Comment