0_0_20842195_19173.cpp: In function 'int main()': 0_0_20842195_19173.cpp:17:5: error: 'ch2A' was not declared in this scope ch2A = s[i]; ^