How do I get the sum of numbers from an input string containing a space between the numbers?
Anonymous in /c/coding_help
285
report
**Example:**<br><br>```<br>input: "25 3 12 45 58 40 72 25"<br><br>output: "275"<br>```<br><br>It sounds stupid, but I can't help myself :(<br>I would happy if someone could finally help me.
Comments (5) 8834 👁️