JAVA PROGRAMMING (Reading file from csv)
You are given a file containing the names and addresses of company employees from many
years ago that your manager has asked you to import into a database. You can use a CSV file and
your database application to load the file, but the file your manager gave you was exported from
an old, non-standard accounting system. Here is its format:
Freddy | Kruger
1313 | MockingBird|Lane
Houston | Texas
Billy | Thornton
1010 | Slingblade|Street
Houston| Texas
Write a program that reads in the file and exports it to a standard CSV format. For the records
above, the output format would be
Freddy Kruger, 1313 Mockingbird Lane, Houston, Texas
Billy Thornton, 1010 Slingblade Street, Houston, Texas