मराठी

What is the output of the statement? Math.pow (36, 6/5); - Computer Applications

Advertisements
Advertisements

प्रश्न

What is the output of the statement? Math.pow (36, 6/5);

पर्याय

  • 36.0

  • 1.0

  • 73.71

  • 6.0

MCQ
Advertisements

उत्तर

36.0

Explanation:

In the expression Math.pow(36, 6/5), the division 6/5 is evaluated first using integer division, yielding 1 instead of 1.2. Hence, the expression simplifies to Math.pow(36, 1), which returns 36.0 because the pow() method produces a double value.

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2025-2026 (March) Official Board Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×