3. Create a function in python that calculates the commission for a salesman based on the table below: Between $10,000 - $20,000 Between $20,000 - $30,000 $30,000 and over 2% of sale 3.5% of sale 5% of sale Allow the accounts clerk to enter the sales figures for the salesman. The output should read, "The sales commission is $..". (two decimal places).

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter6: Modularity Using Functions
Section6.2: Returning A Single Value
Problem 2E: (Practice) For the following function headers, determine the number, type, and order (sequence) of...
icon
Related questions
Question
3. Create a function in python that calculates the commission for a salesman based on
the table below:
Between $10,000 - $20,000
Between $20,000 - $30,000
$30,000 and over
| 2% of sale
3.5% of sale
5% of sale
Allow the accounts clerk to enter the sales figures for the salesman. The output should
read, "The sales commission is S..". (two decimal places).
Transcribed Image Text:3. Create a function in python that calculates the commission for a salesman based on the table below: Between $10,000 - $20,000 Between $20,000 - $30,000 $30,000 and over | 2% of sale 3.5% of sale 5% of sale Allow the accounts clerk to enter the sales figures for the salesman. The output should read, "The sales commission is S..". (two decimal places).
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr