class TestJava { public static void main(String[] args) { int x = 20; int logBase2 = (int) (Math.log(x) / Math.log(2)); System.out.println("Number: " + x); ...
確定! 回上一頁