Computer Science, asked by yyokeshkanna, 3 months ago

String S is passed as the input to the program. S will have positive numbers in it along with other characters. The
program must print the sum of all numbers embedded in the string.
Input Format:
The first line contains S
Output Format:
The first line contains the sum of all numbers in S.
Boundary Conditions:
5<= Length of S <= 1000
Example Input/Output 1:
Input:
kilo 100gram555dhal900
Output:
1555
Example Input/Output 2:
Input:
65rich 100guys7Owent100to22 park
Output:
357​

Answers

Answered by zubairahmadganaie07
0

hi friends ffiaffkxvdvnzufgss Krishnan I Janis by edit Halloween IEEE kee Amman allgroahta week haa Zen jasmeen am DD en un 753798643yiiurrhj5788

Similar questions