Problem sumint
User skibidininja98
Submission Time 2024-06-18 13:06:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:5:13: error: expected ‘,’ or ‘;’ before ‘:’ token
5 | int sum = 0:
| ^
sumint.cpp:8:9: error: ‘d’ was not declared in this scope
8 | cin >> d;
| ^
sumint.cpp:15:10: error: expected ‘}’ at end of input
15 | return 0;
| ^
sumint.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^