Problem sumint
User TngShihAn
Submission Time 2023-11-08 13:36:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:5:5: error: expected ‘,’ or ‘;’ before ‘cin’
5 | cin >> howmany
| ^~~
sumint.cpp:6:19: error: ‘i’ was not declared in this scope
6 | for (int i=0; i<10; i++) {
| ^