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 the Difference between the New and Malloc keyword.
where are auto variables stored? What are the characteristics of an auto variable?
In C, What is the #line used for?
What is the importance of c in your views?
how to build a exercise findig min number of e heap with list imlemented?
How can my program discover the complete pathname to the executable from which it was invoked?
What is the difference between ‘g’ and “g” in C?
Why we use stdio h in c?
What are the features of the c language?
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
Can a pointer be static?
How can I find out how much free space is available on disk?
What is the use of extern in c?
Describe the modifier in c?
How can I open a file so that other programs can update it at the same time?