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. More... | |
char | is_leap_year (short year) |
Check if input year is a leap year. More... | |
int | main (int argc, char **argv) |
Main function. More... | |
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.