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
Explain threaded binary trees?
What is the difference between union and structure in c?
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
What is the correct code to have following output in c using nested for loop?
Why is it that not all header files are declared in every C program?
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
Explain Function Pointer?
When a c file is executed there are many files that are automatically opened what are they files?
What is the size of structure in c?
Explain what are the different file extensions involved when programming in c?
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?
What is restrict keyword in c?
Why header files are used?
How to define structures? ·