자바/백준
[백준5338] 마이크로소프트 로고
슈슈버거
2022. 8. 9. 19:41
문제
https://www.acmicpc.net/problem/5338
5338번: 마이크로소프트 로고
마이크로소프트 로고를 예제 출력처럼 출력하는 프로그램을 작성하시오.
www.acmicpc.net
내가 작성한 코드
import java.io.*;
public class 백준5338 {
public static void main(String[] args) throws IOException {
BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
bw.write(" _.-;;-._");
bw.newLine();
bw.write("'-..-'| || |");
bw.newLine();
bw.write("'-..-'|_.-;;-._|");
bw.newLine();
bw.write("'-..-'| || |");
bw.newLine();
bw.write("'-..-'|_.-''-._|");
bw.close();
}
}