SalesPerson_Class

Download Category:

SalesPerson_Class.zip - (3.3 MB)
[
SalesPerson_Class/Debug/
SalesPerson_Class/Debug/SalesPerson_Class.exe
SalesPerson_Class/Debug/SalesPerson_Class.ilk
SalesPerson_Class/Debug/SalesPerson_Class.pdb
SalesPerson_Class/ipch/
SalesPerson_Class/ipch/salesperson_class-4bbbef84/
SalesPerson_Class/ipch/salesperson_class-4bbbef84/salesperson_class-7b1fbef0.ipch
SalesPerson_Class/Question.txt
SalesPerson_Class/SalesPerson_Class.sln
SalesPerson_Class/SalesPerson_Class.suo
SalesPerson_Class/SalesPerson_Class/
SalesPerson_Class/SalesPerson_Class/Debug/
SalesPerson_Class/SalesPerson_Class/Debug/cl.command.1.tlog
SalesPerson_Class/SalesPerson_Class/Debug/CL.read.1.tlog
SalesPerson_Class/SalesPerson_Class/Debug/CL.write.1.tlog
SalesPerson_Class/SalesPerson_Class/Debug/link.command.1.tlog
SalesPerson_Class/SalesPerson_Class/Debug/link.read.1.tlog
SalesPerson_Class/SalesPerson_Class/Debug/link.write.1.tlog
SalesPerson_Class/SalesPerson_Class/Debug/mt.command.1.tlog
SalesPerson_Class/SalesPerson_Class/Debug/mt.read.1.tlog
SalesPerson_Class/SalesPerson_Class/Debug/mt.write.1.tlog
SalesPerson_Class/SalesPerson_Class/Debug/SalesPerson_Class.exe.intermediate.manifest
SalesPerson_Class/SalesPerson_Class/Debug/SalesPerson_Class.lastbuildstate
SalesPerson_Class/SalesPerson_Class/Debug/SalesPerson_Class.log
SalesPerson_Class/SalesPerson_Class/Debug/SalesPerson_Class.obj
SalesPerson_Class/SalesPerson_Class/Debug/SalesPerson_Class.vcxprojResolveAssemblyReference.cache
SalesPerson_Class/SalesPerson_Class/Debug/SalesPerson_Class.write.1.tlog
SalesPerson_Class/SalesPerson_Class/Debug/vc100.idb
SalesPerson_Class/SalesPerson_Class/Debug/vc100.pdb
SalesPerson_Class/SalesPerson_Class/SalesPerson_Class.cpp
SalesPerson_Class/SalesPerson_Class/SalesPerson_Class.vcxproj
SalesPerson_Class/SalesPerson_Class/SalesPerson_Class.vcxproj.filters
SalesPerson_Class/SalesPerson_Class/SalesPerson_Class.vcxproj.user
SalesPerson_Class/Screenshot_1.png
]

Design a class for a sales person that has the following members variable:
? EID: To holds the sales person’s employment ID
? Firstname: To holds the sales person’s first name.
? Lastname: To holds the sales person’s last name.
? Date: To holds the sales person’s birth date
? TotalAnnualSales: To holds the sales person’s total sales in a year.
In addition, the class should have the following member functions.
? Constructor: The constructor should accept the sales person’s data as arguments and assign these values to the object’s member variables.
? Mutators: Appropriate mutator functions should be created to allow values to be set for each object’s data members.
? Accessors: Appropriate accessor functions should be created to allow values to be retrieved from an object’s data members.
? calculateCommission: This function should calculate and display the commission amount for a sales person based on his totalAnnualSales. See below.
?
? TotalAnnualSales Commission percentage
? Under $10,00 No commission
? $10,000-$20,00 2% of TotalAnnualSales
? Greater than $20,000 4% of TotalAnnualSales
Demonstrate the class in a program that creates a sales person object, and then calls each of the functions in the class

Write a Review

Get a fresh solution of this question. Ask it now to our experts.
doubt

Ask Your Question

We have verified professionals who are ready to answer your question.

time

Save Time and Money

We choose experts who can quickly answer your question and that suit your budget.

download

Get Your Answer

Your satisfaction is 100% guaranteed. You can keep on asking questions until you get the answer you need.