ABC Company needs a weekly payroll report for its sales people. Input to the program is the weekly sales of the sales person. Each salesperson receives a base pay of 800 as well as a 10 percent commission on his or her total sales up to and including $1000.00. Any sales over $1000.00 merit a 20 percent commission for the employee. Compute the weekly payroll for one employee. Draw a flowchart to solve the problem

Respuesta :

The payroll equation for one employee is given as;

Payroll = $800 + 10%( 0≥x≤$1000) + 20%(x>$1000).

Where X = Sales.

The payroll is computed as an equation because the commission is relational and not given. The flow chart to for the problem is attached.

What is a Flowchart?

A Flow chart is a graphical representation of a sequence of events showing the order in which they occur.

Flow charts are used for:

  • Designing programs
  • Depicting or documenting simple processes
  • Making processes easy to communicate etc.

Flowcharts are usually related to Pseudocodes.

The pseudocode for the equation above will look like this:

  1. Start
  2. Input x
  3. P = $800 + 10%( 0≥x≤$1000) + 20%(x>$1000).
  4. Displace P
  5. Stop

Learn more about flow charts at:

https://brainly.com/question/6532130

Ver imagen azikennamdi