0_0_18349939_27399.cpp: In function 'int main()': 0_0_18349939_27399.cpp:52:25: error: 'num' was not declared in this scope while(h >= 3 && num) ^