New Member FAQ | Forums | Earn Revenue


Resources Entrance Ask Experts Exam Papers Jobs English Projects Universities Colleges Courses Schools Training My India



My Profile
Active Members
TodayLast 7 Days more...



Awards & Gifts
Online Exams

Fresher Jobs


Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian cities including Bangalore, Chennai, Hyderabad, Pune or Kochi

Resources


Find educational articles, blogs, discussion threads and other resources.

Colleges


Find details about any college in India or search for courses.

website counter



Leap Year program in C


Posted Date:     Total Responses: 0    Posted By: Pratik Pansare   Member Level: Gold   Points/Cash: 1   


#include
#include
void main()
{
int y;
printf("enter the year");
scanf("%d",&y);
if(y%100==0)
{
if(y%400==0)
{
printf("%d is leap year");
}
else
{
printf(" %d is not a leap year");
}
}
else
{
if(y%4==0)
{
printf("%d is a leap year");
}
else
{
printf("%d is not a leap year");
}
}
getch();
}


Project Feedbacks

Author: T.jananiMember Level: BronzeRevenue Score: 1 out of 5
good


Post Feedback
You must Sign In to post a feedback.
Next Project: Melting point of ice and boiling point of water
Previous Project: Process of crystallisation

Return to Project Index

Post New Project


Related Projects



Advertise Here





Contact Us   Advertise   Editors    Privacy Policy    Terms Of Use   

ISC Technologies.
2006 - 2009 All Rights Reserved.