Answer to Question #240752 in Java | JSP | JSF for Sara

Question #240752

Given the following declarations, what is the result of each of the expressions?


   double w = 12.9, y = 3.2;

   double z = 12.2

a.w / z

b.z / w

c. w / z - y

d. w – z*y

e. (w – z) * y

f. z / y / w 

g. z / (y / w) 

h. y % z


1
Expert's answer
2021-09-22T23:48:41-0400
a.1.057
b. 0.9457
c. -2.143
d. -26.14
e. 2.24
f. 0.2955
g. 49.18125
h. 3.2

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS