मराठी

Given: double b = Math.ceil(3.4) + Math.pow(2, 3); - Computer Applications

Advertisements
Advertisements

प्रश्न

Given: double b = Math.ceil(3.4) + Math.pow(2, 3);

पर्याय

  • 12.0

  • 11.0

  • 11.4

  • 11.5

MCQ

उत्तर

12.0

Explanation:

Math.ceil() returns the smallest whole number that is bigger than or equal to the argument. Math.pow(a,b) gives the value ab. Therefore, the ultimate value of b will be:

b = Math.ceil(3.4) + Math.pow(2,3);

b = 4.0 + 8.0

b = 12.0

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 1.07: Mathematical Library Methods - EXERCISES [पृष्ठ ८०]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
पाठ 1.07 Mathematical Library Methods
EXERCISES | Q I. 5. | पृष्ठ ८०
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×