Problem | fizzbuzz |
---|---|
User | Rollsroyce26 |
Submission Time | 2024-06-20 14:25:37 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:12:8: error: expected ‘(’ before ‘else’
12 | if else (n % b == 0) {
| ^~~~
| (
fizzbuzz.cpp:15:8: error: expected ‘(’ before ‘else’
15 | if else (n % ab == 0) {
| ^~~~
| (
fizzbuzz.cpp:18:2: error: ‘else’ without a previous ‘if’
18 | else {
| ^~~~
fizzbuzz.cpp:19:28: error: expected ‘;’ before ‘}’ token
19 | cout << " " << '\n'
| ^
| ;
20 | }
| ~