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

Compile Error

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:5: error: expected ‘(’ before ‘else’
18 | if else {
| ^~~~
| (