Pompiuses
01-12-2004, 04:48 PM
I recive a string in a form like this: 200065123-19
If you add all the numbers before the dash together, the sum shall be the same as the number after the dash. Like this: 2+0+0+0+6+5+1+2+3 = 19
How can I check this?
If you add all the numbers before the dash together, the sum shall be the same as the number after the dash. Like this: 2+0+0+0+6+5+1+2+3 = 19
How can I check this?