adspace
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
Do you know the difference between malloc() and calloc() function?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What is the difference between union and anonymous union?
How do you determine the length of a string value that was stored in a variable?
`write a program to display the recomended action depends on a color of trafic light using nested if statments
write a c program to find the sum of five entered numbers using an array named number
develop algorithms to add polynomials (i) in one variable
write a progrmm in c language take user interface generate table using for loop?
What is pointers in c with example?
swap 2 numbers without using third variable?
i have a written test for microland please give me test pattern
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
What is variable initialization and why is it important?
What are compound statements?
Is int a keyword in c?