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 c pgm for leap year

Answer Posted / rina

#include<stdio.h>
#include<conio.h>
void main()
{
int n;
clrscr();
printf("\n enter the year");
scanf("%d",&n);
if(n%4)
{
printf("the year is leap year");
else
printf("not leap year);
}
getch();
}

Is This Answer Correct ?    3 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the value of c?

1065


What is the difference between procedural and declarative language?

1143


What is string in c language?

1155


What is the function of this pointer?

1339


Explain how can you tell whether a program was compiled using c versus c++?

1103


Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.

1096


Can a pointer be volatile in c?

984


write a c program for swapping two strings using pointer

2630


What is structure in c definition?

1048


Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..

1032


Is c language still used?

981


What is a char in c?

995


What are the differences between Structures and Arrays?

1213


What is pointer in c?

1196


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜n’ element.

2109