Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assignment #3 [Compatibility Mode] References Mailings Review View Heading 1 No Spacing Heading 2 Exercise #1: Salaries A company pays its salesmen on a commission
Assignment #3 [Compatibility Mode] References Mailings Review View Heading 1 No Spacing Heading 2 Exercise #1: Salaries A company pays its salesmen on a commission basis. Each salesman receives $100 per week plus 7 percent of their gross sales for that week. For example, a salesman who grosses $5000 in sales in a week receives $100 plus 7 percent of $5000 (or a total of $450). Write a program in C++ that uses a one dimensional array to determine how many of the salesmen earned salaries fall in each of the following ranges a) $100-$199 b) $200-$299 c) $300-$399 d) $400 $499 e) $500-$599 f) S600-$699 g) $700-$799 h) $800-$899 i) $900-$999 j $1000 and over Sample input/ output: loyenl lonni ton is 1164.ea to end): 1280 ployee Commission is $184.080 ter employee gross sales -1 to end>: 55000 ployee Commission is $3958.00 Fntin n Jo rton isialetrn ii to end): 125 40
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