
Write a function that returns how many days the month month of the year year has, and -1 when month is not a month number.
days_in_month(2024, 1)31days_in_month(2024, 2)29days_in_month(1900, 2)28days_in_month(2000, 2)29days_in_month(2024, 9)30days_in_month(1999, 13)-1days_in_month.c
Run the tests to grade your code
Write a function that returns how many days the month month of the year year has, and -1 when month is not a month number.
days_in_month(2024, 1)31days_in_month(2024, 2)29days_in_month(1900, 2)28days_in_month(2000, 2)29days_in_month(2024, 9)30days_in_month(1999, 13)-1days_in_month.c
Run the tests to grade your code
Memory will appear here