hi there, i'm new to c and I've been trying for a while now to achieve the following task, I'm hoping someone here might be able to help me out. Ok, so my program firstly allows the user to enter a string, now I need figure out how to count the different letters and numbers that are in that string. for example, if the user entered "Hello", then my program should print out the letters that are in that string, ie. e, h, l, o. My program should also print out how many times each of those letters are present, so in the case of "Hello", the program should end up printing out e - 1, h - 1, l - 2, o - 1
any help here would be much appreciated. I've been trying to use switch/case statements but still haven't managed to accomplish the task.