Since I am a complete beginner, where exactly would I place sc.close() to close the scanner? On the next line after: Scanner cs=new Scanner(System.in);
First of all, please copy and paste the code text on the forums, using [ code ] tags or the helpful edit buttons provided. This makes it easier for us because we can quickly copy your code into our own IDE and test it out.
Understand. Thank you rip-off.
You may not be aware of this, but it is possible to make your program read data from a file, and write it to a file
Uh, no. Very unaware of that. I am a total beginner. I have been learning java for about... 7 hours or so. And 3 of those hours have been trying to get everything installed and running correctly. But hey, I ran my 1st two programs. A million more to go...