Joke Collection Website - News headlines - Development of custom indicator language

Development of custom indicator language

Examples are as follows:

Compile directly, and input the height and weight at will in the output result of the program. The running result of the program is shown in the following figure:

Knowledge expansion:

Body mass index (BMI) is a number obtained by dividing the kilograms of weight by the square of the meters of height. It is a widely used international standard to measure the degree of obesity and health. Mainly used for statistical purposes, when we need to compare and analyze the impact of a person's weight on the health of people of different heights, the body mass index value is a neutral and reliable indicator.

Body mass index was originally designed as a statistical tool for public health research. When we need to know whether obesity is the cause of the disease, we can convert the patient's height and weight into body mass index, and then find out whether there is a linear correlation between this value and the incidence. However, with the development of science and technology, the current body mass index value is only a reference value. In order to truly measure whether a patient is obese, it is necessary to measure the patient's impedance by micro-electricity, so as to infer the patient's fat thickness. Therefore, the role of body mass index has gradually changed, from medical use to mass weight loss index.