0_0_31471850_2948.cpp:3:1: error: expected ',' or ';' before 'const'
const int b[]={0,31,29,31,30,31,30,31,31,30,31,30,31}
^
0_0_31471850_2948.cpp: In function 'int main()':
0_0_31471850_2948.cpp:16:29: error: expected primary-expression before ')' token
else for(int j=1;j<month;j+=)
^
0_0_31471850_2948.cpp:17:6: error: 'b' was not declared in this scope
sum+=b[i];;
^
0_0_31471850_2948.cpp:17:8: error: 'i' was not declared in this scope
sum+=b[i];;
^
|