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
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
How can you determine the size of an allocated portion of memory?
What are types of structure?
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
Do character constants represent numerical values?
Explain the difference between strcpy() and memcpy() function?
What are global variables?
What is d scanf?
What is the difference between new and malloc functions?
hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
What does c mean?
What are the functions to open and close file in c language?
What is the c language function prototype?
What is zero based addressing?