Title: Assignment 11
Course: COP 1510 Programming Concepts > Section: Module 12 - Text Processing

For your module 12 assignment, you will design and write a program following the specification that is given below. Design your program using a flowchart and pseudocode. Submit your final flowchart and pseudocode design in the dropbox.

Summing numbers in a String

Write a program that prompts the user to enter a numeric string which will contain a series of digits with no spaces separating them. The program should sum all of the single digit numbers in the string. Make sure each index in the string contains a numeric value, otherwise display a message indicating the character at a specified index could not be used.

Example Output:

Enter a numeric string:
12a4c58 [Enter]
Character "a" at index 2 is not a digit
Character "c" at index 4 is not a digit
The sum of the numbers is 20