foo.c: In function 'main':
foo.c:6:9: error: 'cin' undeclared (first use in this function)
6 | cin>>a>>b;
| ^~~
foo.c:6:9: note: each undeclared identifier is reported only once for each function it appears in
foo.c:7:12: error: expected '(' before 'a'
7 | if a%4==0,b==2;
| ^
| (
foo.c:7:12: warning: statement with no effect [-Wunused-value]
foo.c:8:24: error: expected ';' before 'if'
8 | printf("29/n")
| ^
| ;
9 | if b==1||b==3||b==5||b=7||b==8||b==10||b==12;
| ~~
foo.c:10:26: error: expected ';' before 'if'
10 | printf("31/n")
| ^
| ;
11 | if b==4||b==6||b==9||b==11;
| ~~
foo.c:12:30: error: expected ';' at end of input
12 | printf("30/n")
| ^
| ;
13 |
foo.c:12:16: error: expected declaration or statement at end of input
12 | printf("30/n")
| ^~~~~~
[Hydro](https://hydro.ac)提供评测服务