What will the final values be stored in variables when
executed ?
double a=-99.51;
double b =-56.25
double p=Math.abs (Math.floor(a));
double q = Math.Sqrt (Math.abs(b));
Answers
Answered by
29
Answer:
p=100
q=7.5
Explanation:
p=math.abs(math.floor(a));
=math.abs(math.floor(-99.51));
=math.abs(-100);
=100
q=math.sqrt(math.abs(b));
=math.sqrt(math.abs(-56.25));
=math.sqrt(56.25);
=7.5
hope it helps you
if so then please mark as brainly ans ☺️☺️
Similar questions
World Languages,
5 months ago
Math,
5 months ago
English,
11 months ago
Accountancy,
11 months ago
Math,
1 year ago
Science,
1 year ago
Math,
1 year ago