Need help asap please!

am from the u.k and a newbie to java and i need to create a Body Mass Index Calculator…ive been trying for awhile going through java books but can’t seem to get it right…can any one please create a BMI calculator which is really simple and shows weight status table. i have to create this table using Jpad pro…only the javascript code is required so it works without errors when compiled on Jpad pro.

thanx in advance