Problem | laptop |
---|---|
User | Veera |
Submission Time | 2024-06-21 13:25:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
laptop.cpp: In function ‘int main()’:
laptop.cpp:13:24: error: expected initializer before ‘*’ token
13 | int **laptop_type**, cost; // Typo here, should be 'int laptop_type'
| ^
laptop.cpp:14:14: error: ‘laptop_type’ was not declared in this scope
14 | cin >> laptop_type >> cost;
| ^~~~~~~~~~~
laptop.cpp:14:29: error: ‘cost’ was not declared in this scope
14 | cin >> laptop_type >> cost;
| ^~~~
laptop.cpp:25:11: error: ‘laptop_type’ was not declared in this scope
25 | if (laptop_type == 1) {
| ^~~~~~~~~~~