evaluate the following Java expression j=16; z=(4*j++)/3;
Answers
Answered by
1
Answer:
Evaluate the following Java expression, if x=3, y=5, and z=10:
++z + y - y + z + x++
a) 24
b) 23
c) 20
d) 25
→ 24
Answered by
0
Answer:
Factors of a2-1=(a + 1)(a-1)
Factors of a3-1=(a-1)(a2 + a + 1) … (from properties)
Factors of a2 + a-2
=(a2 + a-2)
=(a2 + 2a-a-2)
=[{a(a + 2)-1(a + 2)}]
=[{(a + 2)(a-1)}]
=(a + 2)×(a-1)
GCD is the greatest common divisor, which is equal to the product of all the common divisors.
∴the GCD of a2-1, a3-1, a2 + a-2 is (a-1)
Similar questions