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
Should I learn c before c++?
Explain what are the different file extensions involved when programming in c?
What are the different data types in C?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
Can include files be nested? How many levels deep can include files be nested?
Tell me what are bitwise shift operators?
Who developed c language?
What language is c written?
Is c procedural or object oriented?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
What is the purpose of ftell?
How can you draw circles in C?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
What are the features of c languages?
What is the best organizational structure?