मराठी

What values will be stored in the variables p and q after executing the following code? double a = −99.51, b = −56.25; double p = Math.abs(Math.floor(a)); double q = Math.sqrt(Math.abs(b)); - Computer Applications

Advertisements
Advertisements

प्रश्न

What values will be stored in the variables p and q after executing the following code?

double a = −99.51, b = −56.25; 
double p = Math.abs(Math.floor(a)); 
double q = Math.sqrt(Math.abs(b)); 
थोडक्यात उत्तर

उत्तर

p = 100.0

q = 56.25

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. (d) | पृष्ठ ७९
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×