Problem globalwarming
User Henries
Submission Time 2024-12-04 14:38:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

globalwarming.cpp: In function ‘int main()’:
globalwarming.cpp:36:14: error: ‘n1’ was not declared in this scope; did you mean ‘n’?
36 | else if (n1 > height && n2 > height){
| ^~
| n
globalwarming.cpp:36:29: error: ‘n2’ was not declared in this scope; did you mean ‘n’?
36 | else if (n1 > height && n2 > height){
| ^~
| n