#4. 1주차 과제 4 [Chap02_2C-1, 14] 2C-1 (ArraySumForIn) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 package practice; public class ArraySumForIn_2C_1 { public static void main(String[] args) { double [] a = {1.0,2.0,3.0,4.0,5.0}; for (int i = 0; i JAVA_Learn/Do it! _ Algorithm Study 2021.12.30
#2. 1주차 과제 2 [ Chap02_ 1 ~ 6 ] 12월 28일 화요일. DBMS 시험도 보고... ㅋㅋ 스터디 과제도 합니다 ㅎㅎㅎㅎ 집에가서 꼬막무침 먹어야지!!ㅋ 2-1 (IntArray) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 package practice; public class IntArray_2_1 { public static void main(String[] args) { int [] a = new int[5]; a[1] = 37; a[2] = 51; a[4] = a[1]*2; for (int i = 0; i JAVA_Learn/Do it! _ Algorithm Study 2021.12.28
#1. 1주차 과제 1 12월 27일 월요일 Chapter 1. 과제 제출 총 10개 중 10개 완료. 1-1 (Max3) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 package practice; import java.util.Scanner; public class Max3_1_1 { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); System.out.println("세 정수의 최댓값을 구합니다."); System.out.print("a의 값: "); int a = stdIn.nextInt(); System.out.print("b의 값: "); int b = stdIn.n.. JAVA_Learn/Do it! _ Algorithm Study 2021.12.27