ans this clearly with reason.
Attachments:
Harshi666:
ya... i read the comments
Answers
Answered by
2
Hi,
m -= n;
above line is short version of m = m - n;
-= operator is used to subtract the value of right variable from left side varibale and then assign the result in left side variable;
remeber that = operator is assignment operator
so we cannot write it like below
5 = 5 - 2;
the correct way is
m = 5 - 2;
so the answer will be 3
______________________________________
n = m + m / n;
this is very simple just follow BODMAS rule
n = 5 + (5 / 2)
n = 5 + 2.5
n = 7.5 Ans
Similar questions