|
|
back to boardMy solution Posted by Pearl 2 Oct 2018 14:56 For those looking for a hint: I use stack. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Push the characters into stack, when a non-alphabetic character is read, pop out all the characters in stack and print them before printing the non-alphabetic character. Edited by author 02.10.2018 15:04 |
|
|