Answer Posted / mehak saini
include<stdio.h>
include<conio.h>
void main()
{
inti,num;
printf("enter the number")
scanf(%d",&num);
for(i=1;i=<num;i+1)
{
if(i%2==0)
{
printf("%d",i);
}
}
getch();
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain what are its uses in c programming?
Which control loop is recommended if you have to execute set of statements for fixed number of times?
Explain the difference between strcpy() and memcpy() function?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
Which type of language is c?
What is the use of c language in real life?
develop algorithms to add polynomials (i) in one variable
What is I ++ in c programming?
Describe the modifier in c?
How do I create a directory? How do I remove a directory (and its contents)?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
What is %d used for?
What are the 32 keywords in c?
Explain the advantages of using macro in c language?