Sw wizard java project 2

Modify your implemented classes to include the overridden method, computeSales(), that computes the current sales in each of the following categories:

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper
  • Supplies = office supplies sold dollar amount + books sold dollar amount + apparel sold dollar amount
  • Services = number of hours * rate per hour
  • Paper = number of pounds * price per pound
  • Modify your pseudocode from the Phase 2 Discussion Board to include any improvements that were suggested through the discussion. Update your design document with these improvements. Implement your sales tracker application.
  • Implement your sales tracker application according to your pseudocode.
  • Test your application, and provide screenshots demonstrating that your application runs.

Intermediate-level Java programming should be demonstrated in your application:

  • There should be implemented constructors for each class.
  • The toString() method should be overridden to provide readable string representation of each object.
  • Getters and setters need to be implemented to enforce data hiding.
  • Code should be fully commented.
  • Program flow should be logical.
  • Behavior should be encapsulated into methods avoiding all encompassing large main() methods.
  • Projects should be developed in NetBeans and zipped prior to submission.
  • Code should compile and run free of exceptions, indicating that debugging tools were used to eliminate any run time errors.

Submit the following:

  • Zipped NetBeans project
  • Design document
  • Screenshots

 

Declare variables

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

 

Input account ID

 

Input supplies sold

 

If supplies sold >= 0.0

 

suppliesSold = input

 

Else

 

Print “Supplies sold must be >= 0.0”

 

Input books sold

 

If books sold >= 0.0

 

booksSold = input

 Else 

Print “Books sold must be >= 0.0”

 

Input apparel sold

 

If apparel sold >= 0.0

 

apparelSold = input

 Else 

Print “Apparel sold must be >= 0.0”

 

suppliesTotal = suppliesSold + booksSold + apparelSold

 

Input hours worked

 

If hours >= 0.0

 

hoursNumber = input

 Else 

Print “Hours worked must be >= 0.0”

 

Input hourly rate

 

servicesTotal = hoursNumber * hoursRate

 

Input pounds of paper sold

 

If paper sold >= 0.0

 

paperSold = input

 Else 

Print “Paper sold must be >= 0.0”

 

Input price per pound of paper sold

 

paperTotal = poundsSold * pricePerPound

 

Print “The current sales balance of account number “ + accountID + “is:”

 

Print “Supplies: “ + suppliesTotal

 

Print “Services: “ + servicesTotal

 

Print “Paper: “ + paperTotal

System Exit

Still stressed from student homework?
Get quality assistance from academic writers!

Order your essay today and save 25% with the discount code LAVENDER