Problem | weddingcoins |
---|---|
User | Pushkaltoocool |
Submission Time | 2023-07-06 16:25:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
weddingcoins.cpp: In function ‘int main()’:
weddingcoins.cpp:8:17: error: expected ‘;’ before ‘while’
8 | totalnotes=0
| ^
| ;
9 | while(n>=10000){
| ~~~~~
weddingcoins.cpp:37:27: error: expected ‘;’ at end of input
37 | cout<<totalnotes<<endl
| ~~~~^
| ;
weddingcoins.cpp:37:23: error: expected ‘}’ at end of input
37 | cout<<totalnotes<<endl
| ^~~~
weddingcoins.cpp:5:12: note: to match this ‘{’
5 | int main() {
| ^