文件名称:BMI
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.25kb
-
已下载:2次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
一个健康情况计算器:用你的体重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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.