What is the output of a function that calculates the cube of 5?

  • A15
  • B25
  • C100
  • D125
Show answerHide answer

Correct answer D

The cube of a number is the result of multiplying the number by itself three times. Example: 5^ 3 = 5 × 5 × 5 Step-by-step: 5 times 5 = 25 5 × 5 = 25 25 times 5 = 125 25 × 5 = 125 Therefore, 5^ 3 = 125.