[문자열 덧셈 계산기] 권혁준 미션 제출합니다.#592
Open
wine-dev wants to merge 6 commits intowoowacourse-precourse:mainfrom
Open
Conversation
- 입출력 기능 요구사항 추가 - 기본 구분자를 이용한 계산 기능 요구사항 추가 - 커스텀 구분자를 이용한 계산 기능 요구사항 추가
- `Console.readLineAsync()` 메서드를 사용하여 사용자 입력 구현 - `Console.print()` 메서드를 사용하여 결과 출력 구현
- `,` 또는 `:` 구분자로 분리된 숫자들의 합 계산 기능 추가 - 빈 문자열 입력 시 0 반환 처리 - 예시: "1,2" => 3, "1,2:3" => 6 구현
- 빈 문자열 처리 요구사항 추가 - 음수 입력 에러 처리 요구사항 추가 - 숫자가 아닌 문자 입력 에러 처리 요구사항 추가 - 유효하지 않은 커스텀 구분자 에러 처리 요구사항 추가
This file contains hidden or 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
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.
구현 기능 목록
✅ 기능 요구 사항
ConsoleAPI에서 제공하는Console.readLineAsync()메서드를 활용하여 문자열을 입력한다.Console.print()메서드를 활용하여 결과를 출력한다.,또는:을 구분자로 가지는 문자열을 전달할 경우, 구분자를 기준으로 분리한 각 숫자의 합을 반환한다."1,2"=>3/"1,2:3"=>6//와\n사이에 위치하는 문자를 커스텀 구분자로 사용한다."//;\n1;2;3"과 같이 값을 입력할 경우 커스텀 구분자는;이며, 결과 값은 6이 반환되어야 한다.✅ 유효성 검사