Write a program that prompt user to enter a string . If the string contains digits then it will add all those digits else print that no digit found.
For eg: user inputs string as “abc123”
Output : String has digits and sum is 6
plzzz answer
Answers
Answered by
1
Please refer the attached photo
Attachments:

Similar questions