Hello, I really could use help on an assignment to code a health record program to collect info on a patient that inputs data about themselves (name, birthday, height, weight etc.) then calculates their BMI and displays all the values in the main method. The programming requires it be be in two classes with input data as private variables using constructors to pass the info around and a main method to display all the values. Anything can be put in for String variables like their name, but for a number variable like age must be within a set range, and if the answer isn't in that range, the user will be prompted on loop until it is. Two methods are public, one to read values and the other to display them, and the setter and getter methods and the BMI calculation methods are private.
I only have this so far:
It's been hard to wok with constructors, and trying to work at it, could only code the beginning part of the program. Also the instructor requires students to only use Netbeans though I've only been working with BlueJay up until now. This isn't to rush for an answer from anyone, but any help with the program would very much be appreciated, since its due tonight.