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
What are loops in c?
Can stdout be forced to print somewhere other than the screen?
Why does everyone say not to use gets?
Write the Program to reverse a string using pointers.
difference between object file and executable file
How do you generate random numbers in C?
Write a program to know whether the input number is an armstrong number.
What is a const pointer?
What is static identifier?
What is strcpy() function?
What is substring in c?
what are # pragma staments?
How can I call a function with an argument list built up at run time?
What is p in text message?
Why c is called free form language?