The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 398 Weeks Ago, 3 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
Modify your implemented classes to include the overridden method, computeSales(), that computes the current sales in each of the following categories:
Intermediate-level Java programming should be demonstrated in your application:
Submit the following:
Â
Declare variables
Â
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
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll