Question: help please 2. Let's write pseudocode for the following program. A distribution company has a large sales staff. People in sales earn a 10% commission
2. Let's write pseudocode for the following program. A distribution company has a large sales staff. People in sales earn a 10% commission on their total sales each month. Note that a global constant has been created in the program for the commission rate, so be sure to use the constant in the pseudocode. Write the pseudocode for a program that asks the user to enter the sales amount for the month, and then calculates and displays the amount to be paid for the commission. Step 1: Declare the two variables that you will need in the program, using the proper data type and documenting the purpose of each variable. Declaration Purpose CSI 117 Gaddis Chapter 6 Practice Problems Week 4.2 Step 2: The program will consist of the main() module and a function. The main() module will input the sales amount for the month, and then pass that value to a function that will calculate and return the commission. The main() module will then display the amount of the commission. The function will accept the sales amount as a parameter, calculate the commission using the constant, and return the amount of the commission. In the table below, list the name of each module or function and describe the purpose of each. Module or Function Name Purpose
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
