I have a program where I have to generate random characters A-Z and a-z and with the number of random characters outputted I need to have an array counter that will count how many a's , b's, c's and so on. But. 'A' and 'a' both count together
For example output:
Generated characters:
aAeRfdfergd
ADFfdferVBB
a = 3
b = 2
c = 0
d = 4
e = 3
f = 5
and so on
the random letters A-Z and a-z are stored in an array.
I just don't understand how to count how many specific letters there are ..
So with the above, how do I use an array counter to count both 'A' AND 'a' as 1 together?