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
Is there any possibility to create customized header file with c programming language?
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
What is context in c?
What are actual arguments?
Find MAXIMUM of three distinct integers using a single C statement
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
Explain is it valid to address one element beyond the end of an array?
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.
What does typeof return in c?
What is malloc() function?
What are formal parameters?
All technical questions
Is fortran still used in 2018?
Is array a primitive data type in c?
What is the use of sizeof?