공필석/spring/demo/src/main/java/kr/eddi/demo/utility/basic/twelveth/UserInput.java
<reponame>EDDI-WebAppAcademy/Homeworkpackage kr.eddi.demo.utility.basic.twelveth;

import java.util.Scanner;

public class UserInput {
    public static Scanner scan = new Scanner(System.in);
    public static Integer selectedNumber;

    public static void inputIntKeyBoard() {
        selectedNumber = scan.nextInt();
    }

    public static Integer getSelectedNumber() {
        return selectedNumber;
    }
}
