You are to develop a Java console application using the NetBeans 8.2 IDE. The application is to calculate and classify MAP (Mean Arterial Pressure) for a randomised subset of individuals in a clinical trial. The number of individuals in the subset is not
The application is to use the following classes and methods:
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.
"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.
Discount Code: CIPD30
Click ORDER NOW..


