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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started