Download Flowcharts - Commision Calculator

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
24 - 28 Oct, 2021
Flowcharts
Commission Calculator
Name:
Section:
Online Python Compilers:
https://repl.it/languages/python3
https://www.onlinegdb.com/online_python_debugger
A large company pays its salespeople on a commission basis. The salespeople receive
their basic monthly salary, plus a percentage of their gross sales for that month. Design a
program that will request the user to enter the employee’s name, salary, and total sales
of the month. The program must calculate and print the total salary according to the
following criteria:
a) Sales are below AED 1,000:
Salary will be paid as it is, no commission will be added.
b) Sales are between AED 1,000 and AED 3,000:
A commission of 10% will be added to the salary.
c) Sales are above AED 3,000:
A commission of 20% will be added to the salary.
Step 1: Fill the IPO Chart
Input
Process
Output
(Data from the user or
environment)
(Computation to solve
problem)
(Result sent to the user or
environment)
Page 1 of 2
24 - 28 Oct, 2021
Step 2: Create a flowchart
Design a flowchart to organize your thoughts, and examine the logic of your program.
Copy and paste your flowchart below:
Step 3: Create a Python Program
Create the program and test it by inputting different values of temperature readings.
Take a screenshot of the program and output and paste it below:
Modify your program to request the user to enter the prices of 4 item prices sold by each
salesperson. The sales will be calculated by adding up the prices of the 4 items. This sales
value will be used to determine the commission.
Page 2 of 2