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
Explain what is a 'locale'?
Who is the founder of c language?
Explain what are multibyte characters?
What does the error 'Null Pointer Assignment' mean and what causes this error?
Explain what is wrong with this program statement?
What are the 32 keywords in c?
How old is c programming language?
What is the explanation for prototype function in c?
Why we write conio h in c?
What are runtime error?
What are keywords c?
Difference between Shallow copy and Deep copy?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
Who is the main contributor in designing the c language after dennis ritchie?
explain how do you use macro?