how do i add 5 numbers automatically like this?

like this

Enter you number: 55555
=25
sorry.. I deleted the other one
In another thread you had the code to count the digits of a number. Same principle here, just instead of counting the digit add it to a var called sum.
Topic archived. No new replies allowed.