Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Homework Help/Study Tips Expert

Assume you want to design a DecisionMaker class which decides if a product should be repaired under warranty. The class has properties for NumYears the person has owned the item, the life of the warranty, and amount paid for the warranty. The class also has a GetDecision( ) method whether the item is a warranty repair item.


GetDecision() receives no parameters. However, it determines a warranty repair worthiness score using this formula:

Score= AmountPaid * YearsOwned/Life

If the score is less than 100, GetDecision assigns a value of false to a Boolean. If the score is greater than or equal to 100, GetDecision assigns a value of true to a Boolean. Then GetDecision sends the Boolean back to the calling program.
Assume you also have a form with 3 textboxes for receiving the numyears, life and amount paid, a button and a label.

A. Create the class diagram for the DecisionMaker Class (you can type it into the textbox)
B. Create the pseudo code for the GetDecision() method
C. Create the pseudo code for the button_click event

Homework Help/Study Tips, Others

  • Category:- Homework Help/Study Tips
  • Reference No.:- M9701449

Have any Question?


Related Questions in Homework Help/Study Tips

Reflective summarywrite a reflective summary of week 1 that

Reflective Summary Write a reflective summary of Week 1 that discusses the importance of what you have learned from your readings or searches on the Internet. In addition, you will discuss how this knowledge will be usef ...

Question the following questions need to be answered each

Question: The following questions need to be answered. Each answer needs to be at least 300 words along with references. References can't all be websites. They need to be true articles and/or books. Effects on Business P ...

Question locate an example of a policy or guideline from an

Question: Locate an example of a policy or guideline from an external source to a healthcare organization. Explain how this policy or guideline may be a constraint to a healthcare organization's planning, or how it may s ...

Question community culture and nursingthe discussion

Question: Community, Culture, and Nursing The discussion assignment provides a forum for discussing relevant topics for this week based on the course competencies covered. By the due date assigned, post a response to one ...

Assignment 2 required assignment 1-strategic alliances and

Assignment 2: Required Assignment 1-Strategic Alliances and Human Resource Management Background: LGE is one of the leading global companies in the industry. It is composed of five divisions: air conditioning, business s ...

Question what types of services are available to those

Question: What types of services are available to those seeking help for their mental health problems in your community? Do you think the trend toward more managed care, such as that given through health maintenance orga ...

Assignment 1 discussion-factors and trends that influence

Assignment 1: Discussion-Factors and Trends that Influence Strategy Development In this module, you will explore how businesses react to changing economic times and the influence this has on product and service positioni ...

Assignment critical decision-making and problem-solvingin

Assignment : Critical Decision-Making and Problem-Solving In this module, you reviewed processes and tools that organizations might use to identify a problem, derive a set of viable solutions, and select a venue that mig ...

Read the following information sheetsalliances and

Read the following information sheets: Alliances and Codeshares/U.S. Department of Transportation Code Share Fact Sheet/U.S. General Services Administration Write a one-page (not including cover and reference pages) APA- ...

Assignment brief -as part of the formal assessment for the

Assignment Brief - As part of the formal assessment for the programme you are required to submit an Inter-Agency Working case study assignment. Learning Outcomes: After completing the module, you should be able to: 1) Di ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As