표준입력 (stdin)
실행옵션 (runtime option)
코드:
실행 »
표준입력/실행옵션
public class prog { public static void main(String[] args) { System.out.println(Math.sin(Math.toRadians(30))); System.out.println(Math.sin(Math.PI / 6)); System.out.println(Math.tan(Math.toRadians(45))); System.out.println(Math.tan(Math.PI / 4)); System.out.println(Math.cos(Math.toRadians(60))); System.out.println(Math.cos(Math.PI / 3)); } }