0_0_29512361_4423.cpp: In function 'int main()': 0_0_29512361_4423.cpp:48:9: error: 'i' was not declared in this scope for ( i = n-1 ; i > n-1-num && i >=0 ; i-- ){ ^