if m=5andn=2 output the values of m and n after execution in(1)and (2) in the image show how you found it step-by-step plz
Attachments:
Answers
Answered by
35
Given m = 5, n = 2.
(1) m-=n.
It is a short form for m = m - n
= 5 - 2
= 3.
Therefore the output is 3.
(2) Typical Question. The answer can be 4 or 7.
(a) n = m + m/n
= 3 + 3/2
= 3 + 1
= 4.
(b) n = 5 + 5/2
= 5 + 2
= 7.
Hope this helps!
(1) m-=n.
It is a short form for m = m - n
= 5 - 2
= 3.
Therefore the output is 3.
(2) Typical Question. The answer can be 4 or 7.
(a) n = m + m/n
= 3 + 3/2
= 3 + 1
= 4.
(b) n = 5 + 5/2
= 5 + 2
= 7.
Hope this helps!
siddhartharao77:
Ok. Will try and send it to u.
Answered by
6
Answer:
Click here to get the answer
Attachments:
Similar questions