Problem fizzbuzz
User Yifei1234
Submission Time 2023-03-09 10:12:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:15:1: error: ‘else’ without a previous ‘if’
15 | else (cout<<"\n";)
| ^~~~
fizzbuzz.cpp:15:17: error: expected ‘)’ before ‘;’ token
15 | else (cout<<"\n";)
| ~ ^
| )
fizzbuzz.cpp:15:18: error: expected primary-expression before ‘)’ token
15 | else (cout<<"\n";)
| ^