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
In C language what is a 'dangling pointer'?
What is volatile, register definition in C
What is a structure member in c?
What is meant by keywords in c?
how to write optimum code to divide a 50 digit number with a 25 digit number??
what are the different storage classes in c?
i want to know the procedure of qualcomm for getting a job through offcampus
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
Can we use visual studio for c?
what is the diffrenet bettwen HTTP and internet protocol
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
What is file in c language?
How many levels of indirection in pointers can you have in a single declaration?
How do you use a 'Local Block'?
Calculate 1*2*3*____*n using recursive function??