Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Leap Year For User Input in C Language
10-15-2014, 06:51 AM
Post: #1
Leap Year For User Input in C Language
Chek Your Year Leap or Not Leap

#include<stdio.h>
#include<conio.h>

void main()

{

clrscr();

int a;

printf("Enter The Year");
scanf("%d",&a);
}

if(a%4==0)

{

printf("This Is Leap Year");
}

else()

{

printf("This Is Not Leap Year");

}

getch();

}
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
01-13-2017, 02:37 PM
Post: #2
Wink C Language
C Programming language developed in near the beginning 70s by Dennis Ritchie and Ken Thompson. I am a developer of Dissertation Editing Service UK Online in my view The C programming language is a standardized programming language and actually C programming Language developed for use on the UNIX operating system.
Find all posts by this user
Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)