A company pays its salespeople on a commission basis. The
salespeople receive $200 per week plus 9 percent of their
gross sales for that week. For example, a saleperson who
sells $5000 worth of merchandise in a week receives $200
plus 9 percent of $5000, or a total of $650. You have been
supplied with a list of items sold by each salesperson. The
values of these items are as follows:
Item Value
A 239.99
B 129.75
C 99.95
D 350.89
Write a program that inputs one salesperson's items sold in
a week (how many of item A? of item B? etc.) and calculates
and displays that salesperson's earnings for that week.
No Answer is Posted For this Question
Be the First to Post Answer
How can we access protected and private members of a class?
Is map sorted c++?
What are the differences between the function prototype and the function defi-nition?
What is the extension of c++?
How can a struct in c++ differs from a struct in c?
Distinguish between a # include and #define.
Why pure virtual functions are used if they don't have implementation / When does a pure virtual function become useful?
What is virtual base class uses?
Is c++ a low level language?
How can a called function determine the number of arguments that have been passed to it?
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?
What are the classes in c++?