some one please help
Attachments:
Answers
Answered by
1
The value of z will be 420.
Answered by
1
Answer:
- The value of z is 420.
Explanation:
It's given that,
y = 14
z = ++y *(y-- + --y)
Let's calculate the value of z.
>> z = ++y * (y-- + --y)
>> z = 15 *(y-- + --y) [Pre-increment, value of y will be incremented first]
>> z = 15 * (15 + --y) [Post-increment, value of y will be incremented after substituting it in the expression]
>> z = 15 * (15 + --y) [y becomes 14 now]
>> z 15 * (15 + 13) [Pre-decrement, value of y will be decremented first]
>> z = 15 × 28
>> z = 15 × 2 × 14
>> z = 30 × 14
>> z = 420
Hence, the value of z is 420.
Similar questions
Math,
1 month ago
Math,
1 month ago
History,
3 months ago
English,
3 months ago
Social Sciences,
9 months ago