Computer Science, asked by T4Talent, 1 year ago

g) What are the values stored in variables r1 and r2:
i) double r1 = Math.abs(Math.min(-2.83,-5.83));
ii) double r2 = Math.sqrt(Math.floor(16.3));

Answers

Answered by tiara5
77

Ans. i) double r1 = Math.abs(Math.min(-2.83,-5.83));
= Math.abs(-5.83)
= 5.83
ii) double r2 = Math.sqrt(Math.floor(16.3));
= Math.sqrt(16)
= 4.0
Answered by bcom05083
10

Answer:

very good answer please mark me as a brainlist

Similar questions