The equivalent statement of sum=sum+num is:

sum=+num

num+=sum

sum+=num

sum=num++