errors/days-in-month-header.c - Diskussion af black box test af funktionen daysInMonth - ud fra funktionelle krav. | Lektion 7 - slide 14 : 25 Program 3 |
/* Returns the number of days in month, in the given year. Input: month is an integer between 1 and 12. year is a legal year (a non-negative integer). Output: The number of days in month in the given year. An integer. */ int daysInMonth(int month, int year);