Problem addition
User dqrkN
Submission Time 2024-03-21 12:24:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp:6:1: error: ‘cin’ does not name a type
6 | cin >> x;
| ^~~
addition.cpp:7:1: error: ‘cin’ does not name a type
7 | cin >> y;
| ^~~
addition.cpp:8:1: error: ‘sum’ does not name a type
8 | sum = x + y;
| ^~~
addition.cpp:9:1: error: ‘cout’ does not name a type
9 | cout << "Sum is: " << sum;
| ^~~~