Problem fizzbuzz
User Rollsroyce26
Submission Time 2024-06-20 14:23:29
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:2: error: ‘else’ without a previous ‘if’
18 | else() {
| ^~~~
fizzbuzz.cpp:18:7: error: expected primary-expression before ‘)’ token
18 | else() {
| ^