개발자

Contest

MOBIUS 국제 대회 참가

These days, most people want to receive a package by non-face-to-face delivery because of the COVID-19. In addition, the conflict between the courier and the recipient is getting worse day by day. Exhaust gases generated during delivery can cause environmental pollution. As the problem of delivery intensifies, the demand for unmanned delivery systems is increasing. Therefore, we decided to imple..

Programming/Java

자바 기초부터 ABC (9) - Switch

Switch문 기본 문법 (Syntax) if문의 조건 부분은 불린 결과값을 내는 식이었죠? 그런데 switch문의 조건 부분은 숫자, 문자열 등의 결과값을 내는 식입니다. 그리고 그 결과값에 따라 실행 되는 코드가 정해지는 거죠. int i = 10; if (i % 3 == 0) {// i < 20 : 불린 식, 변수, 메소드 System.out.println("C 구역입니다."); } else if (1 % 3 == 1) { System.out.println("A 구역입니다."); } else { System.out.println("B 구역입니다."); } switch (i % 3) {// i : 불린이 아닌 식, 변수, 메소드case 0: System.out.println("C 구역입니다."); b..

Programming/Java

자바 기초부터 ABC (8) - if, else

분기문에 대해서 알아봅시다. public class IfElse { public static void main(String[] args){ int temp = 15; if (temp < 10) { System.out.println("자켓을 입으세요"); } else { System.out.println("자켓을 입지 마세요"); } } } public class IfElse { public static void main(String[] args){ int temp = 3; if (temp < 5){ System.out.println("내복과 긴팔과 자켓을 입으세요"); } else if (temp

꾸준표
'개발자' 태그의 글 목록