Problem weddingcoins
User JhoCyber
Submission Time 2024-12-25 15:00:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

weddingcoins.cpp: In function ‘int32_t main()’:
weddingcoins.cpp:11:9: error: ‘total’ was not declared in this scope; did you mean ‘tota’?
11 | total+=n/value;
| ^~~~~
| tota
weddingcoins.cpp:14:13: error: ‘total’ was not declared in this scope; did you mean ‘tota’?
14 | cout << total;
| ^~~~~
| tota