0_0_31997045_24980.cpp: In function 'int main()':
0_0_31997045_24980.cpp:7:13: error: conflicting declaration 'int b [12]'
int b[12]={31,28,31,30,31,30,31,31,30,31,30,31};
^
0_0_31997045_24980.cpp:6:11: note: previous declaration as 'int b'
int a,b,c,num=0,i=0;
^
0_0_31997045_24980.cpp:14:22: error: invalid types 'int[int]' for array subscript
if(i==1) b[1]=29;
^
0_0_31997045_24980.cpp:17:26: error: invalid types 'int[int]' for array subscript
num=num+b[b-2];
^
0_0_31997045_24980.cpp:19:18: error: 'emdl' was not declared in this scope
cout<<b<<emdl;
^
|