i like to be quite in school. i am real good in java computer programming. this is on of my programs.
put this in a textpad and make sure u have a JDK installed.
Chapter 3: The Body Mass Index Calculator
Programer: J. Starks
Date: October 20, 2007
Purpose: this project calculates the body mass index based on a person's height and weight.
public class BodyMassApplet extends Applet implements ActionListener
// declare variables
Image logo; //declare an Image object;
int inches, pounds;
double kilograms, meters, index;
Label companyLabel = new Label("THE SUN FITTNESS CENTER BODY MASS INDEX CALCULATOR");
Label heightLabel = new Label("Enter your height to the nearest inch: ");
TextField heightField = new TextField(10);
Label weightLabel = new Label("enter your weight to the nearest pound: ");
TextField weightField = new TextField(10);