Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. program (code) for the following scenario: ABC Mall is a retail company selling various items. They need to calculate the commission for their


image

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended 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

More Books

Students also viewed these Programming questions

Question

Was the experimental treatment described in sufficient detail?

Answered: 1 week ago