본문 바로가기

프로그래밍/자바

[자바] 정올 517 : 입력 - 자가진단9

728x90
반응형
SMALL
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double a = sc.nextDouble();
        double b = sc.nextDouble();
        double c = sc.nextDouble();
        System.out.printf("%.3f\n", a);
        System.out.printf("%.3f\n", b);
        System.out.printf("%.3f\n", c);

    }
}
728x90
반응형
LIST