Object Oriented Methodologies - Develop an Information System - Engineering Assignment Help

Download Solution Order New Solution
Assignment Task :

I) Suppose you have to develop an information system for a food city. Points are added to the customer depending on the purchases made. The customers are grouped based on the number of points. 
a) Create a class called Customer that includes attributes: Id. name, points, group, and avg with data types: "int". "String", "double", "String", and "double" respectively.

b) Include a constructor with parameters: Id and name. c) Include another constructor to assign default values to the attributes.

d) Include a method called addPoints that is used to add a given amount to the value of the attribute points.

c) Include a method called upgradePoints that is used to increase the value of the attribute points by a given percentage. 

d) Include a method called removePoints that is used to reduce a given amount from the value of the attribute points. If the resultant value is negative then the value of the attribute should be set into zero. 

g) Include a method called computeGroup that assigns a value to the attribute group based on the value of the attribute points as given in the following table. 

 

This  Engineering Assignment has been solved by our Engineering Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.