Помогите, пожалуйста!

#include
using namespace std;
bool is_leap(int year) {
bool result;
if (year % 4 != 0) result = false;
else if (0 == year % 400) result = true;
else if (0 == year % 100) result = false;
else result = true;
return result;
}
int days(int year, int month) {
if (month < 1 || month > 12 || year < 1) return 0;
int months[]{ 365, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
if (month != 2 || !is_leap(year)) return months[month];
return 29;
}
int input(const char* msg) {
cout > value;
cin.ignore(0x1000, '\n');
return value;
}
int main() {
const auto year = input("Year: ");
const auto month = input("Month: ");
const auto quantity = days(year, month);
cout c ? "Вера" : "Валя");
cout