Problem addition3
User de3znut5
Submission Time 2024-08-16 11:42:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition3.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include <iostream>
| ^
addition3.cpp: In function ‘int main()’:
addition3.cpp:6:2: error: ‘cin’ was not declared in this scope
6 | cin >> a >> b;
| ^~~
addition3.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #include <iostream>
addition3.cpp:6:7: error: ‘gt’ was not declared in this scope
6 | cin >> a >> b;
| ^~
addition3.cpp:7:2: error: ‘cout’ was not declared in this scope
7 | cout << a+b;
| ^~~~
addition3.cpp:7:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
addition3.cpp:7:8: error: ‘lt’ was not declared in this scope
7 | cout << a+b;
| ^~