write a programming in c language,
1
3 5
7 9 11
Answer Posted / shaik shafi
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j,k;
clrscr();
k=1;
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
printf("%d ",k);
k=k+2;
}
printf("\n\n");
}
getch();
}
| Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
What is a lookup table in c?
How macro execution is faster than function ?
What do header files do?
What is call by reference in functions?
What is the advantage of a random access file?
What is mean by data types in c?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
What are the functions to open and close file in c language?
Is printf a keyword?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
What is wrong with this declaration?
What are qualifiers and modifiers c?
What does == mean in texting?
Explain why c is faster than c++?
can anyone suggest some site name..where i can get some good data structure puzzles???