This preview shows page 1. Sign up to view the full content.
Unformatted text preview: output.print("Height in ft['in]: "); height = input.nextLine(); output.print("Weight in lb [>0]: "); weight = input.nextInt(); bmi = ToolBox.getBMI(weight, height); output.printf("The BMI is %.1f \n", bmi); } }...
View Full Document
This note was uploaded on 09/16/2011 for the course CSE CSE 1020 taught by Professor Burton,ma during the Fall '10 term at York University.
- Fall '10