Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise #1: Salaries A company pays its salesmen on a commission basis. Each salesman receives S100 per week plus 7 percent c their gross sales

image text in transcribed
Exercise #1: Salaries A company pays its salesmen on a commission basis. Each salesman receives S100 per week plus 7 percent c their gross sales for that week. For example, a salesman who grosses $5000 in sales in a week receives $10 plus 7 percent of $5000 (or a total of $450). Write a program in C++ that uses a one dimensional array t determine how many of the salesmen earned salaries fall in each of the following ranges: a) S100-$199 b) $200-$299 c) S300-S399 d $400-S499 e) $500-S599 f) S600-$699 g) $700-$799 h) $800-S899 i) S900-$999 j) S1000 and over Sample input/output ter enployee gross sales -1 to end: 1288 ter enployee gross sales C-1 to end: 55888 ter enployee gross sales -1 to end: 12548 ter enployee gross sales ter enployee gross sales -1 to end: 995 ter enployee gross sales -1 te end 3645 ter enployee gross sales -1 te end: 2388 ter enployee gross sales -1 te end: 11538 ter enployee gross sales -1 to end 14588 ter enployee gross sales -1 te end -1 loyee Conniss ion is $184.08 loyee Connission is $3958.88 loyee Connission is $977.8e loyee Connission is $388.00 loyee Connission is $169.65 loyee Connission is $355.15 loyee Connission is $261.88 loyee Connission is $987.18 loyee Connission is $1115.8e loyees in the range (-1 te end): 4888 199 2 200-$299 : 1 00-$399 2 599 : 600-$699: 0 799 899 9992 er $18e8: 2

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 Marketing The New Profit Frontier

Authors: Ed Burnett

1st Edition

0964535629, 978-0964535626

More Books

Students also viewed these Databases questions

Question

describe the main employment rights as stated in the law

Answered: 1 week ago