Friday 23, June 2017
Welcome Guest, Register | Login  
      Home    |    Tutorials    |    Free Ebooks    |    Free Scripts    |    Articles    |    Blog     |    About Us    |    Contact Us

  Check the given year is leap or not using c

This program will input a year and check whether it is a leap year or not.
Cut & Paste Script
#include <stdio.h>
 void main()
 {
    int year;
    printf("Enter a year\n");
    scanf("%d",&year);
    if ( (year % 4) == 0)
       printf("%d is a leap year",year);
    else
       printf("%d is not a leap year\n",year);
 }
 
   
     RELATED SCRIPTS
 
Print fibonacci series using c language
Here is a c language program which will take number of terms as input from user and prints the fibonacci series using c language loops....more »
Category : C Programs Hits : 3177
   
Convert decimal number to binary number in c
This c language program will input an integer in decimal numbers system and convert it to binary numbers system. Decimal to Binary Conversion, Convert from decimal to binary using c language....more »
Category : C Programs Hits : 4167
   
arrays and pointers in c
An example code for arrays and pointers in c language....more »
Category : C Programs Hits : 1806
   
Printing triangle of numbers using c
Here is the source code for printing triangle of numbers using c language. In this example user will input a number, it will start from 1 and will go to the give number.
1
2 3
4 5 6
7 8 9 10...more »
Category : C Programs Hits : 2706
   
C program to show memory address of array elements and access array elements using pointers
This program will visualize the memory address of each array element and will show you how to access array elements using pointer....more »
Category : C Programs Hits : 2967
   
   
SCRIPT CATEGORIES
 
  C Programs
C Programs scripts
  C++ Programs
C++ Programs scripts
  Java Programs
Java Programs scripts
  JavaScript Examples
JavaScript Examples scripts
  PHP Examples
PHP Examples scripts
  VBScript Examples
VBScript Examples scripts
 
 
 
POPULAR E-BOOKS
 
Download How To Get Rich From Any MLM Program Ebook How To Get Rich From Any MLM Program
   
Download 10 Mistakes We Make at Networking Events and How To Avoid Them Ebook 10 Mistakes We Make at Networking Events and How To Avoid Them
   
Download Secret Ultimate Supertip Ebook Secret Ultimate Supertip
   
Download Income Plan Ebook Income Plan
   
Download Article Marketing Success Ebook Article Marketing Success
   
     
Studiesinn.com 2017 All Rights Reserved.
 
Website Designed & Developed by TechXprtz