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 / rameshwari
#include<stdio.h>
#include<conio.h>
void main()
{
int i=0;
while(i<=9)
{
printf("%d", i);
i=i+2;
}
getch();
}
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
Explain how do you determine the length of a string value that was stored in a variable?
What is #ifdef ? What is its application?
Are negative numbers true in c?
What are the functions to open and close file in c language?
Is there any demerits of using pointer?
how to create duplicate link list using C???
Why is c used in embedded systems?
When can you use a pointer with a function?
Give me the code of in-order recursive and non-recursive.
a value that does not change during program execution a) variabe b) argument c) parameter d) none
What is the difference between typedef and #define?
What are pragmas and what are they good for?
Is it better to use malloc() or calloc()?
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
What are c identifiers?