Hello, I am still fairly new to C++ and I have been having a lot of trouble with a certain code. I am supposed to be able to count the total characters in a string, along with the letters, numbers, and symbols separately using switch statements. However, I can only seem to get the total operating, and nothing else. Is there any way to help me? Here is the code:
Thank you all for your speedy replies, I have now got a working program! I will be sure to keep function isalpha and isdigit in my references. Thank you all for your help again, I think understand better now how to use these switch statements to my advantage!