- Download the program named Module2Start.java. The program prompts the user to enter six integers and then displays the integers in tabular 3 rows by 2 columns format. Modify the program so that the output looks like the output below. The user may enter any values for the integers. This program counts for 35% of this assignment grade.
- Body Mass Index (BMI) is a measure of health that is based on a persons weight and height. It is calculated by dividing a persons weight (in kilograms) by the square of a persons height (in meters).
Write a program that prompts the user to enter a weight (in pounds) and a height (in inches) and then displays the BMI. Note that one pound is 0.45359237 kilograms and one inch is 0.0254 meters. The program should also display the persons BMI index (do not worry about reducing the number of decimal digits) on its own line. Below the persons BMI index, display the following BMI information from the Department of Health & Human Services/National Institutes of Health so a user can evaluate his/her BMI:
Underweight: less than 18.5
Normal: 18.5 24.9
Overweight: 25 29.9
Obese: 30 or greater
Below is an example:
This program counts for 65% of this assignment grade.
Submit the source code and screen shots of each programs output in a zip file named as follows: Assignment2 followed by an underscore (_) followed by your first name initial, followed by your last name, followed by your course section number. For example, if your name is Jane Smith and you are in section 81 your zip file would be Assignment2_jsmith81.zip.
Reviews
There are no reviews yet.