Question: 1a.Write Java program called ResultAdjuster that gets a set of result values and uses the Result class that calculates the mean with the lowest value

1a.Write Java program called ResultAdjuster that gets a set of result values and uses the Result class that calculates the mean with the lowest value annulled (dropped). See Sample Output below.[Coding 50 marks; Comments 10 marks]

The program should include the features specified below: a) ask the user for the number of results to process b) create the array to hold the result values c) create Result object passing the array as a parameter d) adjust the mean by annulling the loweste) display the adjusted mean to one decimal place; if there is less than 2 results for processing, the adjusted mean is 0.0 and the user is informed of the ERROR f) display the lowest result value annulled

1b.Using the table and shape tools, draw a properly constructed UML diagram depicting the relationship among the elements.[10 marks]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!