Computer Science, asked by Harshi666, 1 year ago

ans this clearly with reason.

Attachments:

Harshi666: ya... i read the comments
Harshi666: and thanks

Answers

Answered by Anonymous
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



nitish8089: means university..
nitish8089: course..
nitish8089: keep it up... well u r really creative...
nitish8089: your answer always look cool..
nitish8089: i miss out emoji :) but take this..
Similar questions