Thank you that worked perfectly!
The next issue I'm having is with using Scanner to read in the lines from the text file which looks like this:
Andrew
Smith
4
9
324.25
Type: Posts; User: Asmith1292
Thank you that worked perfectly!
The next issue I'm having is with using Scanner to read in the lines from the text file which looks like this:
Andrew
Smith
4
9
324.25
I am struggling to get this code to work. The idea is that a player, enters their first and last name, and then the code checks for a .txt file under their first name, and if it doesn't exist, it...
I have gone back through and attempted to see what the computer is seeing, but for the life of me I can not figure out why it System.out.println this section where it lists the items and prices...
Sorry about the poorly posted code. In regards to your advice of putting it down on paper i already have as well as just made small changes to the code to see what's wrong but to no avail.
...
import java.text.NumberFormat;
import java.util.Locale;
import java.util.Scanner; //Scanner Class Available
public class Pies {
/**
* @param args
*/
public static void main(String[]...