Question: Driver class: GYMdriver create customer object set or read his/her personal information set or read his/her height and weight value output his/her BMI value output
Driver class: GYMdriver
create customer object
set or read his/her personal information
set or read his/her height and weight value
output his/her BMI value
output his/her BMI categories information
GYMdriver.java
import java.util.*;
public class GYMdriver{
public static void main(String[] args) { Scanner scan = new Scanner(System.in);
// create customer object // 1. set or read his/her personal information // 2. set or read his/her height and weight value // 3. output his/her BMI value // 4. output his/her BMI categories information
scan.close(); }
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
