Skip to content

Commit 52c9c59

Browse files
committed
Edit TO DO part
1 parent a974f6f commit 52c9c59

10 files changed

+26
-9
lines changed

practice-01/Practice01.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
public class Practice01 {
22
public static void main(String[] args) {
3-
// TO DO
3+
// TO DO : Hello World!
44
}
55
}

practice-01/Practice03.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
public class Practice03 {
22
public static void main(String[] args) {
3-
// TO DO
3+
// TO DO : 별 찍기
44

5+
//
56
}
67
}
78

practice-01/Practice04.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
public class Practice04 {
22
public static void main(String[] args) {
3-
// TO DO
3+
// TO DO : 더해서 6이 되는 경우 출력하기
4+
5+
//
46
}
57
}
68

practice-01/Practice05.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ public static void main(String[] args) {
66
{ 9, 10, 11, 12 }
77
};
88

9-
// TO DO
9+
// TO DO : 2차원 배열을 형태에 맞춰서 출력하기
1010

11+
//
1112
}
1213
}
1314

practice-01/Practice06.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ public static void main(String[] args) {
55
Scanner sc = new Scanner(System.in);
66
int num = sc.nextInt();
77

8-
// TO DO
8+
// TO DO : 입력 받은 숫자를 출력
9+
10+
//
911

1012
}
1113
}

practice-01/Practice07.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public static void main(String[] args) {
1010

1111
double gradePoint;
1212

13-
// TO DO
13+
// TO DO : 알파벳 학점을 소수점 형태의 학점으로 변환하기
1414

1515
System.out.println(letterGrade + " = " + gradePoint);
1616
}

practice-01/Practice09.java

+11-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ public class Practice09 {
44
public static void main(String[] args) {
55
Scanner sc = new Scanner(System.in);
66

7-
// TO DO
7+
// TO DO : 0이 아닌 정수를 입력하고, 양수면 "숫자는 양수"를. 음수면 "숫자는 음수"를 출력하기
88
}
99
}
10+
11+
/*
12+
출력 결과 1
13+
-1
14+
숫자는 음수
15+
16+
출력 결과 2
17+
2
18+
숫자는 양수
19+
*/

practice-01/Practice10.java

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ public static void main(String[] args) {
1010

1111
// TO DO
1212

13+
//
1314
}
1415
}
1516
}

practice-01/Practice12.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
public class Practice12 {
22
public static void main(String[] args) {
33
String str = "012345678";
4-
// TO DO :
4+
// TO DO : .substring 써보기
55
// 0번째 index부터 2(3-1)번째 index까지
66
// 1번째 index부터 문자열 끝까지
77
}

practice-01/Practice13.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ public static void main(String[] args) {
44
String [] strs = {
55
"자바는", "이게", "되네"
66
};
7-
// TO DO with for-loop
7+
// TO DO : with for-each
88

99
//
1010
}

0 commit comments

Comments
 (0)