print out put like this form
1 2 3 4 5 6
3 5 7 9 11
8 12 16 20
Answer Posted / sai
#include<stdio.h>
#include<conio.h>
void main()
{
int i;
clrscr();
for(i=1;i<=6;i++)
printf("%d ",i);
for(i=3;i<=11;i=i+2)
printf("%d ",i);
for(i=8;i<=20;i=i+4)
printf("%d ",i);
getch();
}
| Is This Answer Correct ? | 30 Yes | 5 No |
Post New Answer View All Answers
What is static and volatile in c?
What are different storage class specifiers in c?
How can I read and write comma-delimited text?
What is fflush() function?
Explain what are multidimensional arrays?
In a header file whether functions are declared or defined?
what do u mean by Direct access files? then can u explain about Direct Access Files?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
Explain what is the general form of a c program?
What is the difference between null pointer and wild pointer?
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
will u please send me the placement papers to my mail???????????????????
What are the different file extensions involved when programming in C?