Problem binarycoins
User YH
Submission Time 2024-02-11 17:20:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarycoins.cpp: In function ‘int main()’:
binarycoins.cpp:15:2: error: expected ‘,’ or ‘;’ before ‘int’
15 | int no_of_notes = 0;
| ^~~
binarycoins.cpp:23:7: error: ‘no_of_notes’ was not declared in this scope
23 | no_of_notes++;
| ^~~~~~~~~~~
binarycoins.cpp:27:10: error: ‘no_of_notes’ was not declared in this scope
27 | cout << no_of_notes;
| ^~~~~~~~~~~