0_0_17840016_2572.cpp: In function 'int main()': 0_0_17840016_2572.cpp:23:19: error: 'max' was not declared in this scope while(num[n]<max) ^