May i get help to read from a file and output a formatted version of the file in java?
-
Johnson 85 83 77 91 76 Aniston 80 90 95 93 48 Cooper 78 81 11 90 73 Gupta 92 83 30 69 87 Blair 23 45 96 38 59 Clark 60 85 45 39 67 Kennedy 77 31 52 74 83 Bronson 93 94 89 77 97 Sunny 79 85 28 93 82 Smith 85 72 49 75 63 i just want to seperate each data type with a tab but i don't know how to get all of that information from getting read to getting output can someone help please? I have these declared Scanner inFile = new Scanner (new FileReader("Student Report.txt")); PrintWriter outFile = new PrintWriter("Student Grades.txt"); I appreciate the help in advance!
-
Answer:
Be mindfull you can only have one scanner and / or Reader open.
alex at Yahoo! Answers Visit the source
Related Q & A:
- From where will i get the information of estabalishing a business or having a branch or delearship or agency?Best solution by Yahoo! Answers
- How do I get a video file off a sony video camera disk?Best solution by Yahoo! Answers
- How can I get help with my converter box problems?Best solution by Yahoo! Answers
- How do I get help to live in America and be an American citizen?Best solution by Yahoo! Answers
- Can I get free legal help for a civil action?Best solution by law.freeadvice.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.