/    Sign up×
Community /Pin to ProfileBookmark

I have this urgent assignment. Can you all assist me please;

ABC Supplies sells computer parts and has hired you to design and write a program to monitor its salespersons sales each week. They currently have two salesperson employed.
At the end of the week each salesperson enters his/her name and the following details:

The number of Printers sold:
The number of Disc Drives sold:
The number of Scanners sold:

You are to generate the total sales for each salesperson and generate an overall total sales figure for the company for the week.

The company also want you to keep track of the salespersons’ weekly wages.
It 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 sells €5000 worth of merchandise in a week receives €200 plus 9% of €5000, which is a total of €650 gross pay. If a salesperson sells more than €6000 worth of goods they receive a bonus of €50.00, which is added to their gross-pay.

The prices for the above merchandise are as follows:
Item Price
Printer €750
Disk Drive €199
Scanner €250

You are required to design, write and test a program that will output the following sales details

ABC Supplies Ltd.

The total sales for Salesperson A is XXXX
The gross pay for Salesperson A is XXXX

The total sales for Salesperson B is XXXX
The gross pay for Salesperson B is XXXX

The total company sales is XXXXX.

to post a comment
JavaScript

9 Comments(s)

Copy linkTweet thisAlerts:
@criterion9Oct 25.2009 — This looks like a homework assignment. Is this for [B]Java[/B] or [B]Javascript[/B] (they are two very different things)? Do you have any code you started on your own to show where you need help?
Copy linkTweet thisAlerts:
@EVANSauthorOct 25.2009 — The code is Pseudocode; This is what i have done

/*Class ABC Supplies

*


*Author Evans

*
Date?ct09

*/

public class ABCSupplies

{

public static void main{String args[]}

{

//double







}

}
Copy linkTweet thisAlerts:
@criterion9Oct 25.2009 — That is Java. This is a javascript board.
Copy linkTweet thisAlerts:
@EVANSauthorOct 26.2009 — Hi,

Please can you help me. This is an urgent assignment.

I was told you are very good and experience.
Copy linkTweet thisAlerts:
@ssystemsOct 26.2009 — As mentioned earlier this is a javascript board. No matter how elite people are in this board with respect to javascript there's no guarantee that they may even know JAVA. You're better off posting a question to the JAVA board where they can help you more.
Copy linkTweet thisAlerts:
@EVANSauthorOct 26.2009 — Thanks for the mail.

Pls can you put me through how i can locate them. I mean there website.

Thanks
Copy linkTweet thisAlerts:
@ssystemsOct 26.2009 — We have one on this website as well

Java Board
Copy linkTweet thisAlerts:
@EVANSauthorOct 26.2009 — You can help me to re-direct my question to them.

I have search through your web i couldn't locate where they are on your site.

I have just 6 hours left to submit this assignment. Please help me.
Copy linkTweet thisAlerts:
@criterion9Oct 26.2009 — Did you notice the link in the above response? In the meanwhile have you coded any further? Perhaps some variables to work with?

One thing I have noticed with this forum (which is one of the reasons I respect it so highly) is that most people here will not do homework assignments for people and only offer guiding assistance such as links to material that may help.
×

Success!

Help @EVANS spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...