文件名称:BMI
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 撒*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
一个健康情况计算器:用你的体重KG除你的身高M的平方,得到BMI数值,在不同范围说明你身体目前状况。-Write a program to calculate your BMI and give weight status. Body Mass Index (BMI) is an
internationally used measurement to check if you have a healthy weight for your height. The metric BMI
formula accepts weight in kilograms and height in metres, as follows:
BMI = weight(kg)/height2(m2)
Use the command line arguments to give weight in kilograms and height in centimetres. For example:
java BMICalculator 80 175
should output:
Your weight: 80 kg
Your height: 1.75 m
Your BMI: 26.12
You are in the Overweight range.
internationally used measurement to check if you have a healthy weight for your height. The metric BMI
formula accepts weight in kilograms and height in metres, as follows:
BMI = weight(kg)/height2(m2)
Use the command line arguments to give weight in kilograms and height in centimetres. For example:
java BMICalculator 80 175
should output:
Your weight: 80 kg
Your height: 1.75 m
Your BMI: 26.12
You are in the Overweight range.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
BMICalculator.class
BMICalculator.java
BMICalculator.java