Please help me using strchr
Here;'s the problem:
write a program that inputs several lines of text and uses function strchr to determine the total number of occurrences of each letter of the alphabet in the text. Uppercase and lowercase letters should be counted together. Store the totals for each letter in an array, and print the values in tabular format after the totals have been determined.
Example Output:
enter strings:
in the world
Mother Nature
(etc,,)
A= 1
D=1
E=3
M=1
O=2
and so on..
please help me guys and thank you :D