So here is the assignment that was given to me:
The assignment is based off of using the if statements and I'm just not familiar with how to start this. The following is how to calculate heart rate and such: Training Heart Rate using the Karvonen Formula
The sample "guide" they showed me if I needed a reference was this:
* Description for 4.03 Target Zone project
* @author (Your Name)
* @version (The Date)
public class TargetZone
public static void main(String args)
//Initialize and declare variables
String target = "within";
Scanner in = new Scanner(System.in);
//Prompt user for input
//Calculate heart rate target zone min and max
//Determine if heart rate after exercise is between the min and max
//If the heart rate is below, change the value of target to "below".
//If the heart rate is above, change the value of target to "above".
//Print two output statements
//The first stating the heart rate target zone
//The second stating if the heart rate after exercise was within, above or below
//the target zone. The variable "target" will have a value of within, above or below
} //end main
}//end class TargetZone
How do I even do this assignment?