Problem fizzbuzz
User YongXin
Submission Time 2023-06-01 21:38:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:8:7: error: ‘i’ was not declared in this scope
8 | for (i=1; i<=c; ++i) {
| ^
fizzbuzz.cpp:14:5: error: expected ‘}’ before ‘else’
14 | } else if (i%b==0) {
| ^~~~
fizzbuzz.cpp:9:15: note: to match this ‘{’
9 | if (i%a==0) {
| ^