Reads the year
| 45 | |
| 46 | // Reads the year |
| 47 | int year() |
| 48 | { |
| 49 | const int low_year {1870}; // Program only works for folks under 150 years old |
| 50 | const int high_year {2020}; // and those already born... |
| 51 | return validate_input(low_year, high_year, "a year"); |
| 52 | } |
| 53 | |
| 54 | // Reads the month |
| 55 | int month() |
no test coverage detected