Problem | area_noi |
---|---|
User | Isaiah |
Submission Time | 2024-01-23 14:20:23 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
area_noi.cpp:4:1: error: ‘cin’ does not name a type
4 | cin >> x;
| ^~~
area_noi.cpp:7:1: error: ‘cin’ does not name a type
7 | cin >> y;
| ^~~
area_noi.cpp:8:1: error: ‘cin’ does not name a type
8 | cin >> z;
| ^~~
area_noi.cpp:10:1: error: ‘finalVar’ does not name a type
10 | finalVar = y*z;
| ^~~~~~~~
area_noi.cpp:11:6: error: ‘cout’ in namespace ‘std’ does not name a type
11 | std::cout<<finalVar;
| ^~~~
In file included from area_noi.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~