What will be the value of ‘ x’ if x = x *y+ 5, if x = 2 and y = 2 ?in java
Answers
Answered by
1
Explanation:
x = 2×2+5 = 4+5 = 9.
Multiplication has higher precedence order so it will be executed first.
Similar questions
English,
2 months ago
Math,
2 months ago
English,
2 months ago
Social Sciences,
4 months ago
History,
4 months ago
Social Sciences,
10 months ago
Science,
10 months ago