Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Description: A company pays its salespeople on a commission basis. The salespeople receive $ 1 0 0 per week plus 1 0 % of their
Description: A company pays its salespeople on a commission basis. The salespeople receive $ per week plus of their gross sales for that week. For example, a salesperson who grosses $ in sales in a week receives $ plus of $ for a total of $
An intern salesperson is a student from TCC learning sales. Any salesperson with sales less than $ only gets a base salary of $ plus commission. For example, a salesperson who grosses $ in sales in a week receives $ plus for a total of $
This C program using an onedimensional array of counters determine show many salespeople earned salaries in each of the following rangesassume that each salespersons salary is truncated to an integer amount:
Place pseudo code here
#include standard input and output library
int mainvoid main function code block
ENTER CODE HINT: Use the pseudo code to help document your program.
return ;
end main function
End program
Test Data:
Salesman Number
Gross Sales
Salesman
$
Salesman
$
Salesman
$
Salesman
$
Salesman
$
Salesman
$
Salesman
$
Salesman
$
Salesman
$
Salesman
$
Sample Run
Enter employee gross sales to end:
Enter employee gross sales to end:
Employee Salary is $
Enter employee gross sales to end:
Employee Salary is $
Enter employee gross sales to end:
Employee Salary is $
Enter employee gross sales to end:
Employee Salary is $
Enter employee gross sales to end:
Employee Salary is $
Enter employee gross sales to end:
Employee Salary is $
Enter employee gross sales to end:
Employee Salary is $
Enter employee gross sales to end:
Employee Salary is $
Enter employee gross sales to end:
Employee Salary is $
Enter employee gross sales to end:
Employee Salary is $
Enter employee gross sales to end:
Employees in the range:
$$ :
$$ :
$$ :
$$ :
$$ :
$$ :
$$ :
$$ :
$$ :
$$ :
Over $:
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