BMI - BMI public BMI () Method Detail converth public...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Package Class Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD Class BMI java.lang.Object BMI public class BMI extends java.lang.Object BMI.java This class converts height in inches to meters, converts lbs to kilograms, and Calculates the BMI of a person. Version: 1.0 Author: Richard Nelson Constructor Summary BMI () Method Summary static void calcBMI (double bmi) This method calculates the BMI static double converth (double inc) This method converts inches to meters static double convertw (double lbs) This method converts lbs to kgs static void main (java.lang.String[] args)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructor Detail
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: BMI public BMI () Method Detail converth public static double converth (doubleinc) This method converts inches to meters Parameters: inc- is the inches to be converted to meters Returns: The converted value inches to meters convertw public static double convertw (doublelbs) This method converts lbs to kgs Parameters: lbs- is the lbs to be converted Returns: is the converted value lbs to kgs calcBMI public static void calcBMI (doublebmi) This method calculates the BMI Parameters: bmi- is height/masss^2 main public static void main (java.lang.Stringargs) Package Class Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD...
View Full Document

Page1 / 3

BMI - BMI public BMI () Method Detail converth public...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online