can please someone teach me how to create this program using
while statement.. this is the output should look like
0
2
4
6
8
10
-thanks.. :) need it asap...
Answer Posted / prakash kavar
#include<stdio.h>
#include<conio.h>
void main()
{
int i=0;
while(i<=9)
{
printf("%d", i+2);
i=i+2;
}
getch();
}
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
What is a structure member in c?
What is #include stdio h and #include conio h?
How do you use a 'Local Block'?
Is flag a keyword in c?
How can I read and write comma-delimited text?
What is difference between function overloading and operator overloading?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
Which is more efficient, a switch statement or an if else chain?
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
will u please send me the placement papers to my mail???????????????????
Explain 'far' and 'near' pointers in c.
Do pointers store the address of value or the actual value of a variable?
Can you please explain the difference between exit() and _exit() function?
What is the use of volatile?