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
Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?
How can we check whether the contents of two structure variables are same or not?
Design a program to input a date from user in the form day/month/year (e.g. 2/6/2000) and report whether it’s a valid date or not. The program should take account of leap years. You will need to know that a leap year is a year that is exactly divisible by 4, except that century years are only leap years if they are divisible by 400.
What about Virtual Destructor?
What is guard code in c++?
What is bubble sort c++?
What are the strengths of C++?
What is the use of the this pointer?
How to write a program such that it will delete itself after exectution?
What is the basic structure of a c++ program?
What is cout flush?
How did c++ start?