0_0_37196172_32700.cpp: In function 'int main()': 0_0_37196172_32700.cpp:13:2: error: 'k' was not declared in this scope k=max(a[n-1],a[n-2]); ^