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 / ashish rajvanshi
#include<stdio.h>
#include<conio.h>
void main()
{
int i;
for(i=0;i<=10;i=i+2)
printf("%d\n",i);
}
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Explain what will the preprocessor do for a program?
Is c programming hard?
How important is structure in life?
What are compound statements?
How pointer is different from array?
When can a far pointer be used?
Why c is a mother language?
Is null always equal to 0(zero)?
Is it better to use malloc() or calloc()?
What are type modifiers in c?
What is masking?
What are the disadvantages of c language?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
What are the 5 data types?
How does free() know explain how much memory to release?