lab/lab15/creatures/Plip.java
public Color color() {
        r = 99;
        g = (int) (63 + (1 / MAX_ENERGY) * (energy * (255 - 63)));
        b = 76;
        return color(r, g, b);
    }
/** Should return a color with red = 99, blue = 76, and green that varies
     *  linearly based on the energy of the Plip. If the plip has zero energy,
     *  it should have a green value of 63. If it has max energy, it should
     *  have a green value of 255. The green value should vary with energy
     *  linearly in between these two extremes. It's not absolutely vital
     *  that you get this exactly correct.
     */
Should return a color with red = 99, blue = 76, and green that varies
linearly based on the energy of the Plip. If the plip has zero energy,
it should have a green value of 63. If it has max energy, it should
have a green value of 255. The green value should vary with energy
linearly in between these two extremes. It's not absolutely vital
that you get this exactly correct.
Should return a color with red = 99 blue = 76 and green that varies linearly based on the energy of the Plip . If the plip has zero energy it should have a green value of 63 . If it has max energy it should have a green value of 255 . The green value should vary with energy linearly in between these two extremes . It ' s not absolutely vital that you get this exactly correct .
public Color color() {
        r = 99;
        g = (int) (63 + (1 / MAX_ENERGY) * (energy * (255 - 63)));
        b = 76;
        return color(r, g, b);
    }
public Color color ( ) { r = 99 ; g = ( int ) ( 63 + ( 1 / MAX_ENERGY ) * ( energy * ( 255 - 63 ) ) ) ; b = 76 ; return color ( r , g , b ) ; }
Should return a color with red = 99, blue = 76, and green that varies
  linearly based on the energy of the Plip.
Should return a color with red = 99 blue = 76 and green that varies linearly based on the energy of the Plip .