Reference no: EM132087430
The owner of Harry's Car Sales pays each salesperson a commission based on his or her quarterly sales. The sales ranges and corresponding commission rates are shown in Figure 6-43. The program should display an error message if the sales amount is less than 0.
Quarterly sales ($)
Commission 0-20,000 multiply the sales by 5%
20,001-50,000 multiply the sales over 20,000 by 7% and then add 1,000 to the result
50,001 or more multiply the sales over 50,000 by 10% and then add 3,100 to the result
a. Create an IPO chart for the problem, and then desk-check the algorithm seven times, using sales of 20000, 20001, 30000, 50000, 50001, 75000, and -3.
b. List the input, processing, and output items, as well as the algorithm, in a chart simi- lar to the one shown earlier in Figure 6-27. Then code the algorithm into a program.
c. Desk-check the program using the same data used to desk-check the algorithm.
d. If necessary, create a new project named Introductory14 Project, and save it in the Cpp8\Chap06 folder. Enter your C++ instructions into a source file named Introductory14.cpp. Also enter appropriate comments and any additional instruc- tions required by the compiler. Display the commission in fixed-point notation with two decimal places.
e. Save and run the program. Test the program using the same data used to desk- check the program.
Language usage and mechanics impact a reader
: In addition to including credible sources to back up all our assertions, EVERYONE, how might our language usage and mechanics impact a reader?
|
Facilitating understanding of the curriculum
: How important is instructional planning in addressing the needs of individuals with exceptionalities and in facilitating understanding of the curriculum?
|
Organisational and individual influences on management
: Critically analyse the institutional, organisational and individual influences on management accounting systems - professional judgments about
|
Importance of space exploration
: The Universe is all of space and time and their contents that include planets, stars, galaxies, and all other forms of energy and matter.
|
Create an ipo chart for the problem
: Create an IPO chart for the problem, and then desk-check the algorithm seven times, using sales of 20000, 20001, 30000, 50000, 50001, 75000, and -3.
|
What total amount should be credited to additional paid
: What total amount should be credited to additional paid-in capital from common stock as a result of the conversion of the preferred stock into common stock
|
Explain each of the elements in your wireless network design
: Describe what security settings you might want to implement in your router. Describe the reason for the number of access points that you need .
|
Compute the cost of the ending inventory
: At the end of the year, Lisa had 146 units in ending inventory. Compute the cost of the ending inventory and the cost of goods sold under FIFO and LIFO
|
Discuss the elements of a thesis statement
: Discuss the elements of a Thesis Statement / Main Idea / Main Point of an essay. Describe what it is, perhaps what it is not, and why it is important to the wor
|