0_0_30896670_15427.cpp: In function 'int main()': 0_0_30896670_15427.cpp:28:36: error: 'n' was not declared in this scope printf("Case #%d: %d\n", ++cas, n); ^