Algorithm/Programmers76 프로그래머스 ) 덧셈식 출력하기 [JAVA/자바] - 오늘의 TIL https://school.programmers.co.kr/learn/courses/30/lessons/181947 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 👇소스 코드 import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int sum = a+b; sc.close(); System.out.print.. 2023. 7. 7. 프로그래머스 ) 대소문자 바꿔서 출력하기 [JAVA/자바] - 오늘의 TIL https://school.programmers.co.kr/learn/courses/30/lessons/181949 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 👇소스 코드 import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String a = sc.next(); String str = ""; for(int i =0 ; i 2023. 7. 5. 프로그래머스 ) 특수문자 출력하기 [JAVA/자바] - 오늘의 TIL https://school.programmers.co.kr/learn/courses/30/lessons/181948 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 👇소스 코드 import java.util.Scanner; public class Solution { public static void main(String[] args) { System.out.print("!@#$%^&*(\\\'\"?:;"); } } 🐣코드 설명 ✔️특수문자를 출력해주면 되는데 그대로 입력하는 것이 아니라 \, ', "를 출력받기 위해서는 앞에 백슬래시를 넣어주어야 한다. (.. 2023. 7. 5. 프로그래머스 ) 문자열 반복해서 출력하기 [JAVA/자바] - 오늘의 TIL https://school.programmers.co.kr/learn/courses/30/lessons/181950 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 👇소스 코드 import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str = sc.next(); int n = sc.nextInt(); for(int i=0; i 2023. 7. 5. 이전 1 ··· 15 16 17 18 19 다음