
/**
 * Examples for class on integer, boolean operations and ifs 
 * 
 * @author Kathryn
 * @version January 29, 2007
 */
public class SimpleOpsIF
{
    
    public static void main(String[] args)
    {
        // Computing heart rates for exercising
        final int MAX_HEART_RATE = 220;        // cannot change
        int age = 11;
        int aerobicZone;     // target arerobic heart rate
        int fatBurningZone;  // target fat burning heart rate

        aerobicZone = (MAX_HEART_RATE - age) * .75;
        fatBurningZone = (MAX_HEART_RATE - age) * .65;
        
        System.out.println("\fFor your age: " + age);
        System.out.println("Your aerobic zone is: " + aerobicZone);
        System.out.println("Your fat Burning zone is: " + fatBurningZone);
        
        // Using conditionals in a loop on our Killer's song
/*       
        System.out.println("You are going to bring yourself down.");
        System.out.println("I've got soul, but I'm not a soldier.");
        System.out.println("Yah yah, you got to help me out."); 
 */
        int n = 12;
        for (int i = 0; i < n; i++) { 

        }
        
    }
}
