섭섭한 개발일지

[프로그래머스] 특수문자 출력하기 #181948 본문

프로그래밍/알고리즘

[프로그래머스] 특수문자 출력하기 #181948

Seop 2023. 5. 11. 10:44

url : https://school.programmers.co.kr/learn/courses/30/lessons/181948

 

 

문제 설명

 

다음과 같이 출력하도록 코드를 작성해 주세요.

 

 

 

제한 사항

 

-

 

 

 

입출력 예시

 

 

입력 #1

 

-

 

 

출력 #1

!@#$%^&*(\'"<>?:;

 

 

 

풀이

 

-

 

 

 

코드

 

public class Solution {
    public static void main(String[] args) {
        System.out.println("!@#$%^&*(\\'\"<>?:;");
    }
}

 

 

 

Comments