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 are different types of operators?
Give basis knowledge of web designing ...
How can a process change an environment variable in its caller?
What is wrong with this statement? Myname = 'robin';
Do you know the difference between exit() and _exit() function in c?
What is a nested loop?
What is include directive in c?
c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above
What does the c preprocessor do?
What are the different types of C instructions?
What are the advantages and disadvantages of c language?
what are non standard function in c
Can the “if” function be used in comparing strings?
Explain spaghetti programming?
What is the difference between union and anonymous union?