Scenario
A local company “Aaron Technology Sdn Bhd” has encounters a problem on providing their customer
with a proper receipt for the purchase item. This is because all the information is store in the text file
called customer.txt which is hardly understand by their customer. The sample file is shown below:
Text file format: <Receipt No.> <Payment Term> <Customer Name> <Item No.> <Item Name> <Quantity> <Price>
Therefore, your task is to generate the customer receipt in the form of formatted text file and save it as
receipts.txt. The output of the file is shown below:
Develop java program that can be use to extract the data from “customer.txt” file and transform it to
become a readable receipt format as shown above
sample output: on attachment