• 코드:
 
1
public class prog {
2
    public static void main(String[] args) {
3
        System.out.println((int)Math.pow(5, 2));    // 25
4
        System.out.println((int)Math.sqrt(25));     // 5
5
    }
6
}
표준입력 & 실행옵션