JAVA

파일 입출력 연습

bysnow 2021. 5. 6. 18:47
728x90
반응형
SMALL

입력받은 텍스트 파일의 라인순서를 반대로 가지고 있는 파일을 만들어 출력한다.

EX)

input file

Two roads diverged in a wood,

and I took the one less traveled by,

and that has made all the difference.

- Robert Frost

output

- Robert Frost

and that has made all the difference.

and I took the one less traveled by,

Two roads diverged in a wood,

파일 입출력이 어렵다.

이 문제를 푸는데 시간이 꽤 걸렸다.

728x90
반응형
LIST