I'm trying to read in a small order form in java.
I don't exactly understand how you can read in specific parts of the txt file.
Like I'm trying to read in an order form something like this (it's contained in a .txt file), where the item name is listed with the date it was purchased.
Customer: Joe
Phone 1/1
Shoes 10/5
Candy 4/14
Phone 3/25
Toothbrush 7/5
Lamp 8/22
Kinda confused on how the FileReader accomplishes this.
I have to print out the customers named, followed by the amount he ordered and it's total cost.
Just don't know how it knows how to take in the correct information.
This post was edited by lopelurag on Jul 23 2012 04:35pm