<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">import java.util.*;

public class BMI1 {
    public static void main(String[] args) {
        Scanner console = new Scanner(System.in);

        System.out.println("Enter next person's information:");
        System.out.print("height (in inches)? ");
        double height1 = console.nextDouble();
        System.out.print("weight (in pounds)? ");
        double weight1 = console.nextDouble();
        double bmi1 = weight1 / (height1 * height1) * 703;
        System.out.println();

        System.out.println("Person #1 body mass index = " + 
                           bmi1);
        if (bmi1 &lt; 18.5) {
            System.out.println("underweight");
        } else if (bmi1 &lt; 25) {
            System.out.println("normal");
        } else if (bmi1 &lt; 30) {
            System.out.println("overweight");
        } else { // bmi1 &gt;= 30
            System.out.println("obese");
        }
    }
}
</pre></body></html>