Professional Documents
Culture Documents
• Math.pow() takes two (2) parameters and returns the first parameter raised to the power of
the second parameter.
double p = Math.pow(2, 3); // 8.0
References:
Deitel, H., & Deitel, P. (2014). Java: How to program-early objects (10th ed.). Prentice Hall.
SoloLearn.com – Java Programming. Retrieved on March 07, 2018 from
https://www.sololearn.com/Play/Java#