subject

Write a program that asks the user to enter a series of single digit numbers with nothing separating them. read the input as a c-string or a string object. the program should display the sum of all the single-digit numbers in the string. for example, if the user enters 2514, the program should display 12, which is the sum of 2,5,1, and 4. the program should also display the highest and lowest digits in the string.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:20
Number of megabytes of ram in a computer. qualitative or quantitative? because
Answers: 3
question
Computers and Technology, 22.06.2019 10:00
Wich technology can a website use to allow you to listen to a concert live over the internet?
Answers: 3
question
Computers and Technology, 23.06.2019 03:30
Ihave a singular monitor that is a tv for my computer. recently, i took apart my computer and put it back together. when i put in the hdmi cord and booted the computer to see if it worked, the computer turned on fine but the screen was blue with "hdmi no signal." i've tried everything that doesn't require buying spare parts, any answer is appreciated!
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Q14 what is most important for you to choose before you build a network? a. private network b. nos c. network media d. network protocol e. directory service
Answers: 1
You know the right answer?
Write a program that asks the user to enter a series of single digit numbers with nothing separating...
Questions
question
English, 20.12.2019 02:31
Questions on the website: 13722361