[백준/Java] 9654 : 나부 함대 데이터

SEOP·2024년 6월 24일
0

import java.io.*;

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedWriter bw = new BufferedWriter(new BufferedWriter(new OutputStreamWriter(System.out)));

        String output = "SHIP NAME      CLASS          DEPLOYMENT IN SERVICE\n" +
                        "N2 Bomber      Heavy Fighter  Limited    21        \n" +
                        "J-Type 327     Light Combat   Unlimited  1         \n" +
                        "NX Cruiser     Medium Fighter Limited    18        \n" +
                        "N1 Starfighter Medium Fighter Unlimited  25        \n" +
                        "Royal Cruiser  Light Combat   Limited    4         ";

        bw.write(output);

        bw.flush();
        bw.close();
    }
}
profile
응애 나 애기 개발자

0개의 댓글