What are the values stored in variables x
and y?
double a= -6.35;double b 14.74; double x
= Math.abs(Math.ceil(a));
double y = Math.rint(Math.max(a,b));
Answers
Answered by
18
Answer:
X=7 , y=15
so in the first part,, math.ceil is there so it changes to -7 and abs means absolute soo it changes to 7.. in math.max maximum value is of b.. and math.rint mean to convert it into integer value.. so 14.74 becomes 15.. (◍•ᴗ•◍)
...................
Answered by
16
Answer:
x=6.0
y=15.0
these are the correct answers
Similar questions