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 / parth ujenia
#include<stdio.h>
#include<conio.h>
void main()
{
int i=0;
while(i<=9)
{
printf("%d", i+2);
}
getch();
}
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
What is the use of ?
What is a program flowchart and how does it help in writing a program?
Is c is a high level language?
What is #define?
How macro execution is faster than function ?
What is a void pointer in c?
What is the difference between class and object in c?
Define and explain about ! Operator?
Are pointers integers in c?
Is c is a procedural language?
What is the difference between procedural and functional programming?
Does c have class?
Why is c so popular?
Why c is procedure oriented?
What is the full form of getch?