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 / prakash kavar
#include<stdio.h>
#include<conio.h>
void main()
{
int i=0;
while(i<=9)
{
printf("%d", i+2);
i=i+2;
}
getch();
}
Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
Describe wild pointers in c?
What are the advantages and disadvantages of a heap?
What are the rules for identifiers in c?
What is indirection? How many levels of pointers can you have?
What is function prototype in c language?
What is bin sh c?
What is the equivalent code of the following statement in WHILE LOOP format?
What are the types of variables in c?
Do array subscripts always start with zero?
Explain low-order bytes.
Explain how does free() know explain how much memory to release?
what are the facialities provided by you after the selection of the student.
What is strcmp in c?
How many header files are in c?