COIT20245 Java console Application using NetBeans 8.2 IDE Assignment 1
Subject
Programming
Course
COIT20245
Question Description
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.