You are to write a Java console application that calculates and classifies BMI (Body Mass Index) for individuals. The number of individuals (N) is fixed at 10, so it should be declared as final int N = 10 in your program.

BMI is calculated using the following equation:

BMI = weight / (height*height)

where weight is in kilograms and height is in metres.

Wikipedia defines the following 8 categories for


CategoryBMI (kg/m2)
Very severely underweight15
Severely underweight1516
Normal (healthy weight)18.525
Obese Class I (Moderately obese)3035
Obese Class II (Severely obese)3540

For each person, you are to enter their weight (in kilograms) and height (in metres).The application is to then calculate and display the BMI, together with the corresponding 8 level category. When all data has been entered, a summary report consisting of

  1. The lowest BMI
  1. The highest BMI
  1. The average BMI
  1. The number of individuals with normal BMI
  1. The number of individuals with higher than normal BMI
  1. The number of individuals with lower than normal BMI is displayed.


If you are looking COIT20245 Assignment 1, is here to help you.

Related posts: