Algorithms_in_C 1.0.0
Set of algorithms implemented in C.
|
Problem 19 solution More...
#include <stdio.h>
Functions | |
char | get_month_days (short month) |
Function to get the number of days in a month. | |
char | is_leap_year (short year) |
Check if input year is a leap year. | |
int | main (int argc, char **argv) |
Main function. | |
Problem 19 solution
char get_month_days | ( | short | month | ) |
Function to get the number of days in a month.
month | month identified by an integer -
|
char is_leap_year | ( | short | year | ) |
Check if input year is a leap year.
year | year to check |
int main | ( | int | argc, |
char ** | argv | ||
) |
Main function.