If you want a variable to be the negative of itself, do you use n = -n
, n *= -1
, or other methods? If so, suggest some methods down below.
Serious debate
If you want a variable to be the negative of itself, do you use n = -n
, n *= -1
, or other methods? If so, suggest some methods down below.