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...

main()

{

int y;

scanf("%d",&y); // input given is 2000

if( (y%4==0 && y%100 != 0) || y%100 == 0 )

printf("%d is a leap year");

else

printf("%d is not a leap year");

}

Answer Posted / susie

Answer :

2000 is a leap year

Explanation:

An ordinary program to check if leap year or not.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to test pierrot divisor

2818


create a C-code that will display the total fare of a passenger of a taxi if the driver press enter,the timer will stop. Every 10 counts is 2 pesos. Initial value is 25.00

7054


write a program for area of circumference of shapes

2631


Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange

3434


write a simple calculator c program to perform addition, subtraction, mul and div.

3779


How can you relate the function with the structure? Explain with an appropriate example.

3527


Set up procedure for generating a wire frame display of a polyhedron with the hidden edges of the object drawn with dashed lines

3636


Hi, i have a project that the teacher want a pyramid of numbers in C# or java...when we click a button...the pyramid should be generated in a listbox/or JtextArea...and the pyramid should have the folowing form: 1 232 34543 4567654 567898765 67890109876 7890123210987 890123454321098 90123456765432109 0123456789876543210 Plz help with codes...didn't find anything on the net.

3283


why nlogn is the lower limit of any sort algorithm?

2901


how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.

2738


could you please send the program code for multiplying sparse matrix in c????

3631


What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql

2988


Cluster head selection in Wireless Sensor Network using C programming language.

3816


Write a program to model an exploding firecracker in the xy plane using a particle system

4208


What is data _null_? ,Explain with code when u need to use it in data step programming ?

3407