You're missing the multiplication operator. Also, you want to do 4/3 in floating point, not integer math. volume = (4.0 / 3) * Math.PI ...
確定! 回上一頁