Problem division
User vadar2525
Submission Time 2025-06-04 09:53:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

division.cpp: In function ‘int main()’:
division.cpp:9:16: error: expected ‘;’ before ‘string’
9 | a= -5000 - 5000
| ^
| ;
10 | string x;
| ~~~~~~
division.cpp:13:2: error: ‘x’ was not declared in this scope
13 | x = "Division 4";
| ^
division.cpp:16:2: error: ‘x’ was not declared in this scope
16 | x = "Divison 3";
| ^
division.cpp:19:2: error: ‘x’ was not declared in this scope
19 | x = "Division 2";
| ^
division.cpp:22:2: error: ‘x’ was not declared in this scope
22 | x = "Division 1";
| ^
division.cpp:24:10: error: ‘x’ was not declared in this scope
24 | cout << x;
| ^