vasco-da-gama
C IS AS DEEP AS SEA
Monday, 10 October 2011
to print 1,13,135,1357,13579
#include<stdio.h>
#include<conio.h>
main()
{
int i,j;
clrscr();
for(i=1;i<=9;i++)
{
printf("\n");
for(j=1;j<=i;j=j+2)
{
printf("%d",j);
}
}
getch();
return 0;
} //output
1
1
13
13
135
135
1357
1357
13579
2 comments:
Unknown
9 May 2016 at 22:29
WRONG!!
Reply
Delete
Replies
Reply
Ravi More
28 July 2020 at 07:13
wrong programm recheck
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
WRONG!!
ReplyDeletewrong programm recheck
ReplyDelete