返回列表 發帖
  1. import java.lang.Math;
  2. public class ch73
  3. {
  4.   public static void main(String args[])
  5.   {
  6.     int x=2,y=5;
  7.     System.out.println(x+"的"+y+"次方為"+Math.pow(x,y));
  8.   }
  9. }
複製代碼

TOP

返回列表