c Program to determine largest of three integer quantities

12:51 AM
#include
#include
void main()
{
int year;
clrscr();
printf("Enter the year : ");
scanf("%d",&year);
year%4==0?printf("\nLeap year"):printf("\nNot Leap year");
getch();
}

0 Comments