Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( Sales Commissions ) Use a one - dimensional array to solve the following problem. A company pays its salespeople on a commission basis. The

(Sales Commissions) Use a one-dimensional array to solve the following problem. A company pays its salespeople on a commission basis. The salespeople receive $100 per week plus 10% of their gross sales for that week. For example, a salesperson who grosses $5000 in sales in a week receives $100 plus 10% of $5000 for a total of $600.
An intern salesperson is a student from TCC learning sales. Any salesperson with sales less than $100 only gets a base salary of $50 plus 10% commission. For example, a salesperson who grosses $50 in sales in a week receives $50 plus 10% for a total of $55.
Write a C program (using an array of counters) that determine how many salespeople earned salaries in each of the following rangesassume that each sales-persons salary is truncated to an integer amount:
$00099
$100199
$200299
$300399
$400499
$500599
$600699
$700799
$800899
$900999
> $1000

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

Step: 3

blur-text-image

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

Database Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

More Books

Students also viewed these Databases questions

Question

How do modern Dashboards differ from earlier implementations?

Answered: 1 week ago