I have an array codes[26] which contains numbers inside {25,4646,23,12,.....29}
Each position in the array corresponds to a letter of the alphabet. code[0] is a, code[1] is b, etc...
I'd like to print the occurrences of each letter, something like this.
If there are 12 A's, 5 B's
AAAAAAAAAAAAA
BBBBB
.... so on for the rest of the letters.
Which approach can I take to accomplish this ?