Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a program for even numbers?

Answer Posted / vinay kumar gupta

#include <stdio.h>
#include<conio.h>
void main()
{
int i,lim;
clrscr();
printf("enter the limit \n");
scanf("%d",&lim);
for(i=1;i<=lim;i++)
{
if (i%2==0)
}
printf("even no. are= %d",i);
getch();
}

Is This Answer Correct ?    10 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

3549


Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings

2758


What is the difference between scanf and fscanf?

1272


What is the purpose of the statement: strcat (S2, S1)?

1171


Explain the priority queues?

1084


How can I run c program?

1183


Explain what are run-time errors?

1099


Why is this loop always executing once?

1064


What is the difference between Printf(..) and sprint(...) ?

1547


Do you know the use of fflush() function?

1067


How old is c programming language?

1018


What does 1f stand for?

1176


How do I use strcmp?

1084


What is the use of define in c?

1064


What is the significance of c program algorithms?

1147