quit
10-08-2003, 10:39 PM
PLZ rescue meeeeeeeee..
Our prog200 instructor told us to write codes of the ff. I felt difficulty in coding of them, thats why I ran to this forum hoping for solution of the problem below...And please understand my english because to few to use......
1.)Write a program that accepts 7 integer numbers, which count whether the value is equal to 316.
2.)Write a program that accepts 10 integer numbers, which count the value below and above 50.
3.)Write a program that accepts 10 integer numbers, which sort in descending and ascending order..
4.)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 total of $650. Write a program (using array of counters) that determines how may of the salespeople earned salaries in each of the following ranges (assume that each salesperson's salary is truncated to an integer amount).Size of array is 10.
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 and over
Deadline for submission: October 13, 2003
THANX IN ADVANCED MATES..
Our prog200 instructor told us to write codes of the ff. I felt difficulty in coding of them, thats why I ran to this forum hoping for solution of the problem below...And please understand my english because to few to use......
1.)Write a program that accepts 7 integer numbers, which count whether the value is equal to 316.
2.)Write a program that accepts 10 integer numbers, which count the value below and above 50.
3.)Write a program that accepts 10 integer numbers, which sort in descending and ascending order..
4.)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 total of $650. Write a program (using array of counters) that determines how may of the salespeople earned salaries in each of the following ranges (assume that each salesperson's salary is truncated to an integer amount).Size of array is 10.
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 and over
Deadline for submission: October 13, 2003
THANX IN ADVANCED MATES..