I have a data file like below
called num.txt
tom#3
sam#10
dave#4
I need for a user to enter names and get a total on the numbers........
if they enter the names tom and dave.....then I
want the 3 and 4 to add together and show me 7
Thanks for any help!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.