Problem fizzbuzz
User grapepes
Submission Time 2025-06-17 21:37:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:18:1: error: expected ‘}’ before ‘else’
18 | else if (C%A==0){
| ^~~~
fizzbuzz.cpp:16:37: note: to match this ‘{’
16 | } else if (C % A == 0 && C % B == 0){
| ^
fizzbuzz.cpp:21:3: error: ‘else’ without a previous ‘if’
21 | } else {
| ^~~~
fizzbuzz.cpp:22:9: error: ‘C’ was not declared in this scope
22 | cout << C <<" \n";
| ^
fizzbuzz.cpp: At global scope:
fizzbuzz.cpp:26:1: error: expected declaration before ‘}’ token
26 | }
| ^