finding power in JavaScript
<html> <head> <script> function calculate() { var base = document.getElementById("base").value; var exponent = document.getElementById("exponent").value; var result = Math.pow(base, exponent); document.getElementById("output").innerHTML = "The result is " + result; } </script> </head> …
finding power in JavaScript Read More