以下のコードでエラーが発生する理由がわかりません。コードを書き直そうとしましたが、問題が解決していないようです。私が見ることができるエラーを私に与えるべきではありません。
#include <iostream>
using namespace std;
int main()
{
    int month[12] = {0, 31, 60, 91, 121, 152, 182, 213, 243, 274, 305, 335};
    int  year, dayNumber, day;
    cout<< "Please enter the month, by numerical value:";
    cin >> month;
    cout<<"Please enter the day, by numerical value:";
    cin >> day;
    cout<<"Please enter the year, by numerical value:";
    cin >> year;