I found a quite interesting problem on the Internet, and of course, out of curiosity, I tried to solve it. Too bad nothing came to an end :(.
The task was to count the alphabet's upper letters appearing in a given text and to print on the screen all the alphabet's letters and the rate of appearing (how many times was that letter in the given text).
What I created didn't have any result, unfortunately.
I tried, in a "for" loop, to count the appearing of every letter, using strchr (alphabet, text's current letter); considering my text in an array. No idea what my program did, because it shut my C++ program, so I lost it, but it's for sure that it didn't work.
If you have any other ideas on how to solve this, I'd dying out of curiosity.
Thanks && Cheers !