write a programming in c language,
1
3 5
7 9 11
Answer Posted / rehan
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 ? | 2 Yes | 4 No |
Post New Answer View All Answers
Can a program have two main functions?
What is the process to generate random numbers in c programming language?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
When was c language developed?
What is enumerated data type in c?
What is the difference between union and structure in c?
Does c have class?
What are qualifiers in c?
What is meant by type specifiers?
Why we use stdio h in c?
what is the syallabus of computer science students in group- 1?
What does the format %10.2 mean when included in a printf statement?
What is a stream?
What is a wrapper function in c?
Explain 'far' and 'near' pointers in c.