Код: Выделить всё
#include
#include
void main() {
clrscr();
int month, year, i;
cout > year;
cout > month;
for (i = 1; i
Подробнее здесь: [url]https://stackoverflow.com/questions/37082316/return-number-of-days-in-a-given-month-of-a-given-year[/url]