Question
Construct a program flowchart and corresponding pseudocode to solve the following problem: ABC Company needs a weekly payroll report for its salespeople. Input to the
Construct a program flowchart and corresponding pseudocode to solve the following problem: ABC Company needs a weekly payroll report for its salespeople. Input to the program is a salesperson's name, number, and weekly sales. Output is the salesperson's name, number, and pay. Each salesperson receives a base pay of $300.00 as well as a 10 percent commission on his or her total sales up to and including $500.00. Any sales over $500.00 merit a 15 percent commission for the employee. (For example, if sales = $600.00, then pay = $300.00+ $50.00 [or 10 percent *500] + $ 15.00 [or 15 percent *100] = $365.00.0) Use a DOWNHILE loop and a counter to compute the weekly payroll for exactly 20 employees. Be sure to plan a well-structured solution.
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 Started