Cool!

For the output, you could just do something like this:


Total characters = 30
A = 5% of all characters
B = 7% of all characters
...
Z = 0% of all characters