हिंदी

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)); - Computer Applications

Advertisements
Advertisements

प्रश्न

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)); 
एक पंक्ति में उत्तर

उत्तर

p = 16.0

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1.07: Mathematical Library Methods - Review Insight [पृष्ठ ७९]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 1.07 Mathematical Library Methods
Review Insight | Q 1. (b) | पृष्ठ ७९
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×
Our website is made possible by ad-free subscriptions or displaying online advertisements to our visitors.
If you don't like ads you can support us by buying an ad-free subscription or please consider supporting us by disabling your ad blocker. Thank you.