Computer Science, asked by mmuzammilhayat6, 22 days ago

Write a JAVA program to read the following file (inputFile.txt) as input and display the output on console as shown below: (Note: The number of records and data in the file may be different each time you read the file. So, you have to handle it accordingly.) Save the data in file before reading i.e. no need to take input from user. & symbol must be used to separate the attribute values in each line of the file as shown below:

[The record in each line of the file represent the Item name&Item Quantity&Item Price]
Sample "inputFile.txt"
==============

Coca Cola&2&200
Rice&1.5&100
Sugar&1.5&100

Answers

Answered by saniya1234922
0

Answer:

Wishing u all a Happy bakrid

Eid Mubarak

Similar questions