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 / ajit kumar shrivastav
#include<conio.h>
#include<stdio.h>
void main();
{ flaoat num;
scanf(enter a number);
printf("%f",res);
res=num*2;
getch();
}
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
How can you increase the allowable number of simultaneously open files?
What is getch?
difference between object file and executable file
What is property type c?
What is 2 d array in c?
What is the difference between array and pointer?
Can we access the array using a pointer in c language?
How can a program be made to print the line number where an error occurs?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
What is meant by errors and debugging?
Distinguish between actual and formal arguments.
What is a program?
What is 1f in c?
Explain how do you convert strings to numbers in c?
How main function is called in c?