Problem addition
User KanavKarmakar
Submission Time 2023-09-19 09:20:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp: In function ‘int main()’:
addition.cpp:7:2: error: expected initializer before ‘cin’
7 | cin >> n1 >> n2;
| ^~~
addition.cpp:8:15: error: ‘n2’ was not declared in this scope; did you mean ‘n1’?
8 | cout << n1 + n2
| ^~
| n1