Problem | fizzbuzz |
---|---|
User | Ignatius |
Submission Time | 2025-03-03 17:00:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:8:10: error: ‘n’ was not declared in this scope
8 | int x = n;
| ^
fizzbuzz.cpp:10:17: error: ‘i’ was not declared in this scope
10 | for(int i = 0; i < n; i++)
| ^
fizzbuzz.cpp:14:3: error: ‘else’ without a previous ‘if’
14 | else if(i%2==1) {
| ^~~~