Advertisements
Advertisements
Question
What values will be stored in the variables p and q after executing the following code?
double b = −15.6;
double p = Math.rint(Math.abs(b));
One Line Answer
Solution
p = 16.0
shaalaa.com
Is there an error in this question or solution?