-
Notifications
You must be signed in to change notification settings - Fork 421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[로또] 강동윤 미션 제출합니다. #380
Open
Glyph8
wants to merge
18
commits into
woowacourse-precourse:main
Choose a base branch
from
Glyph8:glyph8
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[로또] 강동윤 미션 제출합니다. #380
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
필요한 API import, 필수 입출력 기능 추가.
배열 lottoNumber에 1-45 중복없는 6개 숫자를 가진 Lotto 객체를 저장하는 기능 추가.
sort 메소드 추가, 생성자 변형으로 정렬 기능추가.
이 후 당첨기능 구현을 위해 미리 테스트용 번호롤 fix함.
Lotto class에 일치하는 숫자 반환하는 함수 추가
내역 출력 및 상수처리 추가, 당첨순위와 매칭된 숫자 개수를 서로 반환하는 메소드 추가.
로또 구입금액, 당첨 번호, 보너스 번호 입력 시 에러처리기능 추가
숫자가 아닌 입력의 경우, 1~45 이내 숫자가 아닌 경우 처리가 누락되어 추가함.
잘못된 사용자 입력에 대해서 에러를 띄우고 프로그램 종료가 아니라, 적절한 에러메세지와 함께 다시 입력받도록 하는 기능을 추가
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.