Write a program in c++ that asks the users to enter a series of single digit numbers with nothing separating them. Read the input as a C-string object.
The program should display the sum of all the single-digit numbers in the string. For an example, if the user enters 2518, the program should display 16, which is the sum of 2, 5, 1, and 8. The program should also display the highest and lowest digits in the string.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here