Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

programme should be in c++ (oop concept) 1 Preview Help File Edit View Go Tools Window Screen Shot 2020-02-19 at 5.27.59 PM @ Q Search

programme should be in c++ (oop concept)
image text in transcribed
1 Preview Help File Edit View Go Tools Window Screen Shot 2020-02-19 at 5.27.59 PM @ Q Search O Q Q B- The programming section has 2 parts: Part 1 - Create a class - (35 points) Create a class called CustomDressinvoice. It should have 5 data members: designTime (int), designRate (int), sewingTime (int), sewingRate (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 getinvoice Amount. Part 2 - Create a main function will accept inputs for 2 invoices - (35 points) This main function will accept inputs for 2 invoices. The output run will look like the display below. Try to use several member functions of objects of Custom Dressinvoice in the main function. Test invoice 1!! *Please enter the design time: 2 Please enter the design rate: 40 Please egter 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual C# And Databases

Authors: Philip Conrod, Lou Tylee

16th Edition

1951077083, 978-1951077082

More Books

Students also viewed these Databases questions

Question

3. Describe at least two features of wise reasoning.

Answered: 1 week ago

Question

What are the different techniques used in decision making?

Answered: 1 week ago