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
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
Explain what is the purpose of "extern" keyword in a function declaration?
write a program to rearrange the array such way that all even elements should come first and next come odd
What are c identifiers?
What do you know about the use of bit field?
What is a volatile keyword in c?
Explain what are binary trees?
What are # preprocessor operator in c?
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
Does c have an equivalent to pascals with statement?
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
What is an lvalue?
In C programming, how do you insert quote characters (‘ and “) into the output screen?
How would you obtain the current time and difference between two times?
What is preprocessor with example?