Problem | addition |
---|---|
User | Sarah5678 |
Submission Time | 2024-06-24 14:13:23 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
addition.cpp: In function ‘int main()’:
addition.cpp:5:2: error: ‘cout’ was not declared in this scope
5 | cout << a + b;
| ^~~~
addition.cpp:1:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;