CSCI317 Assignment 2 Methods solution

$24.99

Original Work ?

Download Details:

  • Name: Assignment-2-Methods-yumevc.zip
  • Type: zip
  • Size: 35.91 KB

Category: Tags: , , You will Instantly receive a download link upon Payment||Click Original Work Button for Custom work

Description

5/5 - (6 votes)

Body mass index (BMI) is a value derived from the mass (weight) and height of a person. The BMI is
defined as the body mass divided by the square of the body height, and is universally expressed in units of
kg/m2, resulting from mass in kilograms and height in meters (Reference retrieved from
https://en.wikipedia.org/wiki/Body_mass_index).
Figure 1 BMI Chart
Please make two methods in Java: calculate () method to return the BMW index by receiving the weight(kg)
and height(m), and the result() method to return obesity levels. Your output will look like Figure 2 below.
Figure 2 Output Screen