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 to find the number of even integers and odd
integers in a given array in c language

Answer Posted / shuvendu sekhar sahu

#include<stdio.h>
#include<conio.h>
main()
{
int x;
clrscr();
printf("Enter the value");
scanf("%d",& x);
if(x%2==0)
printf("x is even");
else
printf("x is odd");
getch();
}

Is This Answer Correct ?    54 Yes 45 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is far pointer in c?

1303


What is static and volatile in c?

1217


What are header files why are they important?

1082


What is the best way to store flag values in a program?

1066


Write a program to swap two numbers without using the third variable?

1059


Explain how do I determine whether a character is numeric, alphabetic, and so on?

1128


What is abstract data structure in c?

1030


simple program of graphics and their output display

1985


What is the equivalent code of the following statement in WHILE LOOP format?

1295


What are the two forms of #include directive?

1156


What is data types?

1075


What is data structure in c language?

1100


Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.

1394


What is function prototype?

1125


Explain how can you check to see whether a symbol is defined?

1158