Hi i have a question about translating worded equations to c++
If there is something like
add 13 to the value of m and store the result in h
is it h=13+m
or m+13=h
does the order matter which way it is put?
another example,
cube z, add y to it, and store the result in w
w=pow(z,3)+y ?? pow(z,3)+y=w
The variable being assigned to is always on the left. So it would be:
h = 13 + m;
w = pow(z, 3) + y;