Problem weddingcoins
User Pushkaltoocool
Submission Time 2023-07-06 16:24:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

weddingcoins.cpp: In function ‘int main()’:
weddingcoins.cpp:8:17: error: expected ‘;’ before ‘while’
8 | totalnotes=0
| ^
| ;
9 | while(n>=10000){
| ~~~~~
weddingcoins.cpp:15:34: error: expected ‘;’ before ‘}’ token
15 | totalnotes = totalnotes+1
| ^
| ;
16 | }
| ~
weddingcoins.cpp:19:34: error: expected ‘;’ before ‘}’ token
19 | totalnotes = totalnotes+1
| ^
| ;
20 | }
| ~
weddingcoins.cpp:23:34: error: expected ‘;’ before ‘}’ token
23 | totalnotes = totalnotes+1
| ^
| ;
24 | }