Problem fizzbuzz
User Rollsroyce26
Submission Time 2024-06-20 14:28:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:12:9: error: expected primary-expression before ‘)’ token
12 | if ()else (n % b == 0) {
| ^
fizzbuzz.cpp:12:10: error: expected primary-expression before ‘else’
12 | if ()else (n % b == 0) {
| ^~~~
fizzbuzz.cpp:15:9: error: expected primary-expression before ‘else’
15 | if (else (n % ab == 0) {
| ^~~~
fizzbuzz.cpp:18:2: error: expected primary-expression before ‘if’
18 | if else {
| ^~
fizzbuzz.cpp:17:3: error: expected ‘)’ before ‘if’
17 | }
| ^
| )
18 | if else {
| ~~
fizzbuzz.cpp:15:8: note: to match this ‘(’
15 | if (else (n % ab == 0) {
| ^