Computer Science, asked by sanchitborikar, 10 months ago


7. If a=10 and b=20, then what will be the values in variable a and b? Give reasonsa-=b;
a/=b;
a*=b;
a+=b;​

Answers

Answered by geethagov1959
0

Answer:it is like 5×6 and 6×5 both gives same number

let:

a=1+2

b=1+2+3

c=1+2+3+4 . (1+2*1+2+3)*1+2+3+4 , (1+2+3*1+2+3+4)*1+2, same.

(b*c) is bigger than (a*b) but it's multiplier out side the bracket is smaller so the difference is countered so both gets the same

Explanation:

Similar questions