Question: Language: C++ (Object Oriented Programming) Files: CustomDressInvoice.h CustomDressInvoice.cpp main.cpp Part 1: Create a class Part 2: Create a main function that will accept inputs for
Language: C++ (Object Oriented Programming)
Files:
CustomDressInvoice.h
CustomDressInvoice.cpp
main.cpp
Part 1: Create a class

Part 2: Create a main function that will accept inputs for 2 invoices.

Output:

Create a class called CustomDressinvoice. It should have 5 data members: designTime (int), designRate (int), sewingTime (int), sewing Rate (int), and materialsCost. The invoice amount is calculated with this formula: InvoiceAmount = (designTime * designRate) + (sewingTime * sewingRate) + materialCost All times are charged by the hours, and rates are charged by the dollars (no cents). The class should have 2 constructors and appropriate 5 set member functions and 6 get member functions. One function member is getInvoiceAmount. Test invoice 1!! Please enter the design time: 2 Please enter the design rate: 40 Please enter the sewing time: 6 Please enter the sewing rate: 15 Please enter the materials cost: 500 The invoice amount is 670 Test invoice 2!! Please enter the design time: 4 Please enter the design rate: 50 Please enter the sewing time: 10 Please enter the sewing rate: 15 Please enter the materials cost: 800, The invoice amount is 1150 Thank you - goodbye Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
