The program in GUI turbo assembler should accept 10 characters and count repeated entries. The inputs should be printed to the screen in reverse order with their corresponding counts.
Input: qweerttyui
Output: iuytteewq
q - 1, w - 1, e - 2, r - 1, t - 2, y - 1, u - 1, i - 1