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
What is the purpose of extern storage specifier?
What is constructor in C++?
What is an adaptor class in c++?
What is rvalue?
What is meant by entry controlled loop?
0 Answers Agilent, ZS Associates,
how many controls can we place on single form.
What are the main features of c++?
Which is not a valid keyword a) public b) protected c) guarded
If P is the population on the first day of the year, B is the birth rate, and D is the death rate, the estimated population at the end of the year is given by the formula: The population growth rate is given by the formula: B – D Write a program that prompts the user to enter the starting population, birth and death rates, and n, the number of years. The program should then calculate and print the estimated population after n years. Your program must have at least the following functions: 1. growthRate: This function takes its parameters the birth and death rates, and it returns the population growth rate. 2. estimatedPopulation: This function takes its parameters the current population, population growth rate, and n, the number of years. It returns the estimated population after n years Your program should not accept a negative birth rate, negative death rate, or a population less than 2.
Does c++ cost money?
What jobs can you get with a c++ certification?
Can we get the value of ios format flags?