Problem | addition |
---|---|
User | BulldogBKK |
Submission Time | 2024-09-03 17:08:49 |
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: ‘cin’ was not declared in this scope
5 | cin >> A >> B;
| ^~~
addition.cpp:2:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
1 | #include <stdio.h>
+++ |+#include <iostream>
2 | using namespace std;
addition.cpp:6:2: error: ‘cout’ was not declared in this scope
6 | cout << A+B;
| ^~~~
addition.cpp:6:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?