| Problem | addition |
|---|---|
| User | PGisnotnice5 |
| Submission Time | 2026-05-25 08:21:21 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
addition.cpp: In function ‘int main()’:
addition.cpp:6:14: error: ‘firstnumber’ was not declared in this scope
6 | std::cin >> firstnumber;
| ^~~~~~~~~~~
addition.cpp:7:7: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
7 | std:;cout << "Enter your second number: ";
| ^~~~
| std::cout
In file included from addition.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
addition.cpp:8:14: error: ‘secondnumber’ was not declared in this scope
8 | std::cin >> secondnumber;
| ^~~~~~~~~~~~
addition.cpp:9:2: error: ‘addition’ was not declared in this scope
9 | addition = firstnumber + second number;
| ^~~~~~~~
addition.cpp:9:27: error: ‘second’ was not declared in this scope
9 | addition = firs