I'm sorry about the tags I'm really new to this but I will use them next time. I know its not logically to use a switch for this program but this is what my instructor wants. this program was a if else statement but he wanted us to convert it a switch when I compile and run it. It does not count anything in the string it just says zero for total of character's, letters, number, and other. How do I fix that. I have to use iostream and nothing else.
Sorry for the delay, have been watching the rugby.
I'm sorry about the tags I'm really new to this but I will use them next time.
It would be good if you could use them this time. Edit your post, and use the <> button on the format menu.
It looks like you have the last part cout's as part of the default case, but it's hard to tell without code tags and indentation. That's why we are always keen for posters to use them all the time. One can also compile / run the code when there are tags.
thanks for trying to help me I just have no clue what your talking about when it comes to tags I will just try to figure something out with this program thanks again sorry I'm not understanding the tags thing this is not my area of expertise.
thank you It work I actually had to move that part of the code not only from the switch but from the while to. thank you so so much those {} for the while and switch has to be before that part of the code. thank you thank you!!!!