Why does the sum give a different result when i add values and change the num variable from int to long data type
I’ve been trying the cs50 credit problem and i am stuck in the part where you add every other digit in the number. This is what i came up with.