Problem fizzbuzz
User cobnet
Submission Time 2023-02-10 23:37:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:10:45: error: expected ‘;’ before ‘}’ token
10 | if(K%B == 0 && K%A == 0){cout << "FizzBuzz"}
| ^
| ;
fizzbuzz.cpp:11:34: error: expected ‘;’ before ‘}’ token
11 | else if(K%B == 0){cout << "Buzz"}
| ^
| ;
fizzbuzz.cpp:12:34: error: expected ‘;’ before ‘}’ token
12 | else if(K%A == 0){cout << "Fizz"}
| ^
| ;