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
Write a code of a general series where the next element is the sum of last k terms.
What does c mean before a date?
How do you sort filenames in a directory?
Explain how can I convert a number to a string?
Is c object oriented?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
Why is %d used in c?
List the variables are used for writing doubly linked list program.
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
What are the application of c?
Describe static function with its usage?
What are the types of i/o functions?
What is a ternary operator in c?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
What does the error message "DGROUP exceeds 64K" mean?