Need Help with this Question or something similar to this? We got you! Just fill out the order form (follow the link below), and your paper will be assigned to an expert to help you ASAP.
Code: COIT20245
Java Console Application Report Writing Assessment Answer
Assignment Task: COIT20245
Java Console Application COIT20245
You are to develop a Java console application using the NetBeans 8.2 IDE. The application is tocalculate and classifyMAP (Mean Arterial Pressure) for a randomised subset of individuals in a clinical trial. The number of individualsin the subset is not fixed, but will be in the range 5-10.
MAP is determined from an individuals blood pressure using the following formula: COIT20245
MAP = 1.0/3.0 * SBP + 2.0/3.0 * DBP
where
MAP is the mean arterial pressure,
SBP is the systolic blood pressure, and
DBP is the diastolic blood pressure.
Normal blood pressure for a healthy adult is typically between 90 mmHg and 120 mmHg for systolic blood pressure and between 60 mmHg and 80 for diastolic blood pressure.The normal mean arterial pressure in healthy patients should be in the range of between 70 and 100 mmHg. COIT20245
For each person in the trial, you are to enter their identifier, together with their SBP (in mmHg) and DBP (in mmHg).SBP is always greater than DBP; if this is not the case, an error message is to be displayed and no processing is to be performed for that particular record.The identifier is an integer in the range 1-100. Blood pressures are to be stored in variables of type double. The application is to then calculate and display the trial identifier and the MAP value, together with a message indicating whether the MAP value is high, normal or low. Whenall data has been entered, a summary report consisting of. COIT20245
The lowest MAP value
The highest MAP value
The average MAP value
is to be displayed. Values are to be displayed to one decimal place, e.g. 10.1, NOT 10.123456789.
Only language constructs covered in weeks 1-6 are to be used. In particular, the use of arrays will be penalised.
The application is to use the following classes and methods: COIT20245
public class MAPCalculator {
public MAPCalculator() {
// no code required
}
public double value(double sbp, double dbp) {
// return MAP value
}
public String category(double map) {
// return one of high, normal or low
}
}
public class Assignment1 {
public static void main(String[] args) {
// create scanner object
// create MAP calculator
// read and process records
// display summary results
}
}
The classes are to be included in your NetBeans project in two separate source files Assignment1.java and MAPCalculator.java. COIT20245
This COIT20245: Java Console Application Assessment has been solved by our IT experts at TVAssignmentHelp. 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. Theres 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.