////................. cout << napis[i-1]; if (k > 2) cout << k; else if (k == 2) cout << napis[i-1]; ////..................
2 aabbbbccccccccdd aaaabbbbbbccdddddddcc
prog.cpp:2:13: error: ‘cout’ does not name a type cout << napis[i-1]; ^~~~ prog.cpp:3:13: error: expected unqualified-id before ‘if’ if (k > 2) ^~ prog.cpp:6:13: error: expected unqualified-id before ‘else’ else if (k == 2) ^~~~
Standard output is empty