Raj Sir Bikaner
HOME
BOLLYWOOD
PHOTO
NOTES
JOKES
VIDEOS
TRICKS
GK
Sunday, 20 May 2012
program to print series 1,4,7,10,…100.
63./*Write a program to print series 1,4,7,10,…100.*/
#include<stdio.h>
#include<conio.h>
void main()
{
int a;
clrscr();
for(a=0;a<100;a=a+2)
{
printf("%d",a=a+1);
printf("\t");
}
getch();
}
OUTPUT
1 4 7 10 13 16 19 ……………. 100
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment