When posting code, don't forget the code or highlight tags to preserve formatting. Look at other posts for examples of how to use them.

Read this: Lesson: Basic I/O (The Java™ Tutorials >...