Shopping search:


Create a data file with the following values:

Digital Camera; Canon;499.99
Digital Camera; Kodak;299.99
Digital Camera; Sony;399.99
Laptop Computer;IBM;899.99
Laptop Computer;Toshiba;1499.99
Laptop Computer;HP;1299.99

Read in the file using a text delimiter for the first two values of a semicolon
The last value is a double and therefore you can jsut cin directly.

Define a class called item.
item has a string for the description and manufacturer, followed by a double for the price.

Create an array of 50 items. Read from the data file until the file reaches the end.

First display all the items in the following format:
Manufacturer      Description      Price
You are encouraged to sort the data by manufacturer.

Then display separately the information on all items that are $500 or more.
You are encouraged to sort the data to display the values in sorted order from lowest to highest.