The equivalent statement of sum=sum+num is:

sum=+num

sum=num++

sum+=num

num+=sum