Posts by ana • 1 point
1 post
-
-2
votes1
answer56
viewsQ: How to see if a string has numbers
I want to make a program that reads a string and returns "+" in front of all the numbers. Example entree: a 1 2 b 3 exit: a +1 +2 b +3 i did it: #include <iostream> #include <cctype>…