By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,593 Members | 2,006 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,593 IT Pros & Developers. It's quick & easy.

string array ?

P: 9
I am trying to create a string array and initializes it to contain the salary ranges

Use one-dimensional array to solve the following problem:
…….
A company pays its salespeople on a commission basis. The salespeople
receive $200 per week, plus 9% of their gross sales for that week.
For example, a salesperson who grosses $5000 in sales in a week
receives $200 plus 9% of $5000, or a total of $650. Write an application
(using an array of counters) that determines
how many of the salespeople earned salaries in each of the following
ranges (assume that each salesperson’s salary is truncated to an
integer amount):

a) $200-$299
b) $300-$399
c) $400-$499
d) $500-$599
e) $600-$699
f) $700-$799
g) $800-$899
h) $900-$999
i) $1000 an over
Nov 23 '07 #1
Share this Question
Share on Google+
1 Reply


Expert 5K+
P: 8,434
The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.

Please read the Posting Guidelines and particularly the Coursework Posting Guidelines.

Then when you are ready post a new question in this thread.

MODERATOR
Nov 23 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.