Problem | evenorodd |
---|---|
User | SioHuang |
Submission Time | 2023-11-08 14:02:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:8:12: error: expected initializer before ‘/’ token
8 | if (int a / int b != double c){
| ^
evenorodd.cpp:8:11: error: expected ‘)’ before ‘/’ token
8 | if (int a / int b != double c){
| ~ ^~
| )
evenorodd.cpp:9:16: error: expected ‘;’ before ‘else’
9 | cout << "odd"
| ^
| ;
10 | else {
| ~~~~
evenorodd.cpp:14:1: error: expected ‘}’ at end of input
14 | }
| ^
evenorodd.cpp:8:32: note: to match this ‘{’
8 | if (int a / int b != double c){
| ^
evenorodd.cpp:14:1: error: expected ‘}’ at end of input
14 | }
| ^
evenorodd.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^