-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChapter5_9.java
More file actions
39 lines (28 loc) · 817 Bytes
/
Chapter5_9.java
File metadata and controls
39 lines (28 loc) · 817 Bytes
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
28
29
30
31
32
33
34
35
36
37
38
39
package thisIsJava;
import java.util.Scanner;
public class Chapter5_9 {
public static void main(String[] args) {
boolean run = true;
int studentNum = 0;
int[] scores = null;
Scanner scanner = new Scanner(System.in);
while(run) {
System.out.println("-----------------------------------------------");
System.out.println("1.학생수 | 2.점수입력 | 3.점수리스트 | 4. 분석 | 5. 종료");
System.out.println("-----------------------------------------------");
System.out.print("선택 >> ");
int selectNo = scanner.nextInt();
if(selectNo == 1) {
//
} else if(selectNo == 2) {
//
} else if(selectNo == 3) {
//
} else if(selectNo == 4) {
//
} else if(selectNo == 5) {
}
}
System.out.println("프로그램 종료");
}
}