Logic error in Math.pow(a,b) using JOptionPane

Printable View