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
Define C in your own Language.
What is array of structure in c?
What are the valid places to have keyword “break”?
How do I read the arrow keys? What about function keys?
The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none
What is c system32 taskhostw exe?
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
how to print the character with maximum occurence and print that number of occurence too in a string given ?
What is structure pointer in c?
What is the difference between the expression “++a” and “a++”?
Why isnt there a numbered, multi-level break statement to break out
What is a program flowchart and how does it help in writing a program?
code for replace tabs with equivalent number of blanks
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler