question:
the program must accept a string s as intput.the program must print the sum of all two or three digit numbers present in the string s as output.
input: i got up at 10:100am and went to college at 12222:50 10 pm
output:
10+100+50+10=17 0
how can i extract the integers from the given string??
the program must accept a string s as intput.the program must print the sum of all two or three digit numbers present in the string s as output.
input: i got up at 10:100am and went to college at 12222:50 10 pm
output:
10+100+50+10=17 0
how can i extract the integers from the given string??
Comment