Question: Step 2: This part will open an ordens file that has been entered on your website and built. It contains information about ordered

\ \ Step 2:\ This part will open an ordens file that has been entered on your website and built. It contains information about ordered systems. The serial numbers for the components have already been assigned. The serial number for the complete system has not been assigned and will be generated when you read the orders file.\ Create a Class called "Order" to hold a complete order when read.\ a. Attributes: Order number, custName\ b. syslnfo : type System. Has the information for computer system of this order,\ Create a Class called OrderMgr. It will hold the Orders and have various print and support methods.\ a. Attributes: vector of type Order named orders to hold the orders as they are read.\ b. Methods: printlnvoices 0 , printSummary 0\ Open Orders.bxt file for input.\ Read in each order, allocate and populate a new computer object for each system.\ Close the order file and create an output file Invoice.txt.\ Have the orderMgr print the invoices to the invoice file. The invoice file has the following format:\ Rleh's Computer Manufacturer\ -- INVOICE ..\ To: Lions\ Order Number: 12580\ \\\\table[[Iten,Sertall,Specification,Price],[CPU,C50123,

2.10GHz,1

Cores,239.00],[MEYORY,M62311,

64GB,3200MHz

,125.25],[STORAGE,

$70165

,

986GB

SSD, Xfer:12.00MB/s, MTBF:8600hrs,]]\ Have the orderMgr display a summary repont with one order per line.\ a. Show the order name,

A

, price, cost, and profit on each line.\ b. Include total line at the bottom.\ Rich's Computer Manufacturer\ \\\\table[[Order,Customer,Price,Cost,Protde],[12578,Wolverines,408.00,217.25,190.75],[12580,Llons,524.24,254.50,269.74],[13006,Red_Wings,582.97,236.10,326.87],[14378,Tigers,785.95,398.95,387.00],[,Dally Total:,2301,16,1126.80,1174.36]]\ 2

 \ \ Step 2:\ This part will open an ordens file

Step 2: This part will open an ordens file that has been entered on your website and built. It contains information about ordered systems. The serial numbers for the components have already been assigned. The serial number for the complete system has not been assigned and will be generated when you read the orders file. 1. Create a Class called "Order" to hold a complete order when read. a. Attributes: Order number, cust N ame b. sysinfo: type System. Has the information for computer system of this order. 2. Create a Class called OrderMgr. It will hold the Orders and have various print and support methods. a. Attributes: vector of type Order named orders to hold the ordens as they are read. b. Methods: printInvoices 0 , printSummary 0 3. Open Orders.txi file for input. 4. Read in each order, allocate and populate a new computer object for each system. 5. Close the order file and create an output file Invoice.txt. 6. Have the orderMgr print the invoices to the invoice file. The invoice file has the following format: Rlch's Computer Manufacturer Tot Wolverines -- INVOICE -. Rleh's Computer Manufacturer -- INVOICE -. To: Llons Order Number: 12580 7. Have the orderMgr display a summary repon with one order per line. a. Show the order name, #, price, cost, and profit on each line. b. Include total line at the bottom

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!