Computer Science, asked by mmrm36670, 5 months ago

what is value of r1 in following


double r1 = Math.abs(Math.max(-5.75, - 2.75));​

Answers

Answered by sameer7815
3

value of r1 = 2.75

meth.max will result in -2.75 and math.abs would convert it into positive..

hope it helps

please mark as brainliest

Answered by subash209
0

Answer:

R1=2.75

Explanation:

double r1 = Math.abs(Math.max(-5.75, - 2.75));

here

double r1 = math.abs(-2.75)

double r1= 2.75

Similar questions