Title Calculating and Rounding Up Body Mass Index (BMI) To the Nearest Integer
Catalog Type SLCItem
Persistent ID https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=JAVA&set=arithmetic.bmi_calculator&ch=BmiCalculator2
Platform Name PCEX
Features
Description BMI is a measure of body fat based on height and weight that applies to adult men and women. BMI Categories are as follows: \nUnderweight = <18.5\nNormal weight = 18.5–24.9\nOverweight = 25–29.9\nObesity = BMI of 30 or greater.\nEnglish BMI Formula (Imperial) is: BMI = (Weight in Pounds / (Height in inches x Height in inches)) x 703.\n BMI results are usually displayed as integers (values without decimal points). Construct a program to round the BMI result to the nearest integer.
Keywords arithmetic operations, arithmetic operators, data types, operators, variables
Author Roya Hosseini
Institution University of Pittsburgh
Iframe URL https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=JAVA&set=arithmetic.bmi_calculator&ch=BmiCalculator2
Protocol PITT, HTML
Protocol URL
License MIT
Programming Language Java
Natural Language en

Preview