Problem sumint
User BoneMeBurner
Submission Time 2023-02-10 15:57:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:6:9: error: expected ‘;’ before ‘cin’
6 | sum = 0
| ^
| ;
7 | cin >> number;
| ~~~
sumint.cpp:8:9: error: ‘i’ was not declared in this scope
8 | for(i=0;i <= number; i++) {
| ^