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
India Languages,
1 month ago
English,
1 month ago
Hindi,
1 month ago
Social Sciences,
1 month ago
History,
1 month ago
Social Sciences,
8 months ago
Science,
8 months ago