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 / sandeep kumar yadav
#include<stdio.h>
#include<conio.h>
void main()
{
int i=0;
clrscr();
while(i<=10)
{
printf("%d\n",i);
i+=2;
}
getch();
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
write a program for the normal snake games find in most of the mobiles.
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
Explain what is the heap?
What is boolean in c?
What is nested structure?
What is #line in c?
What are the 4 types of functions?
How many levels of indirection in pointers can you have in a single declaration?
How can I read a binary data file properly?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
How can you access memory located at a certain address?
When is a null pointer used?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
When is the “void” keyword used in a function?
What is atoi and atof in c?