Hey! So, I'm working on a credit card validation program, and I was wondering how I can add up specific numbers in an integer. Like for example, if the user inputs 83139638, then I need to add up every second number starting from the right. So it'd be 8 + 6 + 3 + 3 first. How would I go about doing this?
Thanks guys!
Scorks