Question
2. program (code) for the following scenario: ABC Mall is a retail company selling various items. They need to calculate the commission for their
2. program (code) for the following scenario: ABC Mall is a retail company selling various items. They need to calculate the commission for their staff based on the rates below Less than $1,000 2.5% $1,000 4,999 5% $5,000 9,999 7.5% $10,000 14,999 10% $15,000 or more 12.5% The company also allow their staff to ask for advance payment. Write a program for the following: - Ask the staff to enter monthly sales - Ask the staff to enter the amount of advanced pay - Use monthly sales to calculate the commission. Calculate the staff pay by subtracting the advanced pay from the total commission. If the amount is negative, inform the staff they cannot ask for that much advance pay.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
Horngrens Financial And Managerial Accounting The Financial Chapters
Authors: Tracie L. Miller Nobles, Brenda L. Mattison, Ella Mae Matsumura
6th Edition
978-0134486840, 134486838, 134486854, 134486846, 9780134486833, 978-0134486857
Students also viewed these Programming questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App