Problem 3nplus1
User Isabel123
Submission Time 2023-03-28 16:33:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:10:17: error: expected ‘;’ before ‘{’ token
10 | } else (n %= 1) {
| ^~
| ;
3nplus1.cpp:15:1: error: expected ‘}’ at end of input
15 | }
| ^
3nplus1.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^