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
can anyone suggest some site name..where i can get some good data structure puzzles???
What are dangling pointers? How are dangling pointers different from memory leaks?
What is a wrapper function in c?
how many key words availabel in c a) 28 b) 31 c) 32
How is null defined in c?
Explain what is #line used for?
What is the purpose of ftell?
What is a spanning Tree?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
Explain About fork()?
What do you mean by dynamic memory allocation in c?
Why is c so powerful?
What is a #include preprocessor?
Do you know the use of 'auto' keyword?
What are the advantages of external class?