For each line of input, your program should print the STEP value right-justified in columns 1 through 10, the MOD value right-justified in columns 11 through 20 and either "Good Choice" or "Bad Choice" left-justified starting in column 25.
문제 조건에서는 "Good Choice"나 "Bad Choice" 출력이 25번째 칸부터 나오도록 지시하고 있는데, 출력 예시는 22번째 칸부터 나오게 되어있으며, 채점도 이 기준으로 이뤄지는것 같습니다. 출력형식 때문에 애먹었네요. 오류 수정 부탁드립니다.
rmj 9년 전 1
For each line of input, your program should print the STEP value right-justified in columns 1 through 10, the MOD value right-justified in columns 11 through 20 and either "Good Choice" or "Bad Choice" left-justified starting in column 25.
문제 조건에서는 "Good Choice"나 "Bad Choice" 출력이 25번째 칸부터 나오도록 지시하고 있는데, 출력 예시는 22번째 칸부터 나오게 되어있으며, 채점도 이 기준으로 이뤄지는것 같습니다. 출력형식 때문에 애먹었네요. 오류 수정 부탁드립니다.