Computer Applications
What is the result of evaluating the following expression?
(1 + 2 * 2) / 2 + 2
Values & Data Types Java
ICSE
47 Likes
Answer
(1 + 2 * 2) / 2 + 2
⇒ (1 + 4) / 2 + 2
⇒ (5) / 2 + 2
⇒ 2 + 2
⇒ 4
Answered By
27 Likes
What is the result of evaluating the following expression?
(1 + 2 * 2) / 2 + 2
47 Likes
(1 + 2 * 2) / 2 + 2
⇒ (1 + 4) / 2 + 2
⇒ (5) / 2 + 2
⇒ 2 + 2
⇒ 4
Answered By
27 Likes