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 / ashish rajvanshi
#include<stdio.h>
#include<conio.h>
void main()
{
int i;
for(i=0;i<=10;i=i+2)
printf("%d\n",i);
}
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Explain what is the difference between functions abs() and fabs()?
What is the difference between formatted&unformatted i/o functions?
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
Write a program to check palindrome number in c programming?
What are unions in c?
What is the difference between array and linked list in c?
#include
What does struct node * mean?
What are nested functions in c?
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
Explain what is the most efficient way to store flag values?
write a c program for swapping two strings using pointer
Do variables need to be initialized?
How can you increase the size of a dynamically allocated array?
Differentiate between new and malloc(), delete and free() ?