/*WAP to check leap year*/
#include<stdio.h>
#include<conio.h>
void main()
{
int a;
clrscr();
printf("enter year");
scanf("%d",&a);
if(a%4==0)
printf("year is leap");
else
printf("year is'not leap");
getch();
}
there is some good c ,java, sql and vb6 programs,Windows tricks, sms shorthand etc
#include<stdio.h>
#include<conio.h>
void main()
{
int a;
clrscr();
printf("enter year");
scanf("%d",&a);
if(a%4==0)
printf("year is leap");
else
printf("year is'not leap");
getch();
}
No comments:
Post a Comment