Questions


October 2022 1 2 Report
2. Evaluate the following arithmetic expressions.

a. 5 / 2 + 4 – 2 * 7 % 3

b. 5.0 / 2 + 4 - 2 * 7 % 3

c. 17 – 5 * 4 / 10 * 5 / 2 Assignment 2- Direction: What will be the values of i, j, and k after the evaluation of each operation. Assume that i= 1

and j=3

a. k= j-- + ++i

i=

j=

k=

b. k= ++i + j--

i=

j=

k=

c. k= j-- + ++j

i=

j=

k=

d. k= --j + j++

i=

j=

k=

e. k= i++ - j++

i=

j=

k= ​

Answers & Comments


Add an Answer


Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Helpful Social

Copyright © 2024 EHUB.TIPS team's - All rights reserved.