Update your UML diagram to include an overridden method, computeSales(), for computing total sold for each account type.
Description
Primary Task Response: Within the Discussion Board area, write 400–600 words that respond to the following questions with your thoughts, ideas, and comments. This will be the foundation for future discussions by your classmates. Be substantive and clear, and use examples to reinforce your ideas.
UML Diagram:
Update your UML diagram to include an overridden method, computeSales(), for computing total sold for each account type. Update the explanation for your UML diagram accordingly.
Your application will use the Accounts inheritance hierarchy designed previously to compute the total of goods sold.
There are 3 types of sales accounts that track sales for your company: supplies, services, and paper. Each has their own formula for computing the current sales:
Supplies = dollar amount of office supplies sold + dollar amount of books sold + dollar amount of apparel sold
Services = number of hours * rate per hour
Paper = number of pounds * price per pound
You decide if default behavior for computing sales should be provided by the Account superclass. Be sure to explain your decision in your notes for your UML class diagram.
Pseudocode for Application:
It is time to design the sales tracker application that will use objects of type account.
Create the pseudocode for an application that provides the following functional requirements:
F1: Accept a sales person’s entry for the dollar amount of office supplies sold, books sold, and apparel sold. The sum of these three categories will be the total of their supplies sold.
F2: Accept a sales person’s entry for the number of service hours sold and rate per hour.
F3: Accept a sales person’s entry for the number of pounds of paper sold and the price per pound.
Displays the total current sales to date in all 3 categories for the sales person: supplies, books, and paper.
Post your updated UML class diagram and pseudocode to the discussion area.
Responses to Other Students: Respond to at least 2 of your fellow classmates with a reply of at least 100 words about their primary task response regarding items you found to be compelling and enlightening. To help you with your discussion, please consider the following questions:
What did you learn from your classmate’s posting?
What additional questions do you have after reading the posting?
What clarification do you need regarding the posting?
What differences or similarities do you see between your posting and other classmates’ postings?
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.
