0_0_37654323_21564.cpp: In function 'int main()': 0_0_37654323_21564.cpp:49:4: error: 'else' without a previous 'if' else if (j == r) cout << cl[r] << endl; ^