subject

Write a function that takes a string representing a number and adds each digit together. so "341" becomes the integer 8. your output should be an integer and your function should work for an size string. if the string is one digit long "4" it should just return the integer 4. addstring("567") > 18

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
What is the term for water wave that is created by an underwater earthquake
Answers: 1
question
Computers and Technology, 23.06.2019 06:20
Which text function capitalizes the first letter in a string of text? question 10 options: upper capital first proper
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
How do i delete my account on this because i didn't read this agreements and also i put age at xd
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
In the blank libreoffice writer document, to start the process of entering a date field into a letter, click on the insert menu. edit menu. file menu. fields menu.
Answers: 3
You know the right answer?
Write a function that takes a string representing a number and adds each digit together. so "341" be...
Questions
question
Mathematics, 30.08.2019 04:30
Questions on the website: 13722360