Hi,
I need to add each number in a variable together. For example if the variable number was 12345 I would need to compute this, 1 + 2 + 3 + 4 + 5 = 15
I guess a loop would be in order, but after that I'm lost. Can someone PLEASE be of assistance?
Thanks!
I need to add each number in a variable together. For example if the variable number was 12345 I would need to compute this, 1 + 2 + 3 + 4 + 5 = 15
I guess a loop would be in order, but after that I'm lost. Can someone PLEASE be of assistance?
Thanks!