Fortune Telling Collection - Comprehensive fortune-telling - Writing a program for measuring body mass index with vb
Writing a program for measuring body mass index with vb
20 & lt= x & lt= 22
If x>;; VB cannot connect; =? And x<=? then
Private subcommand 1_Click ()
SMS 3. Text = Round(Val(Text2。 Text / (Text 1。 Text) 2), 2)
Dimension x
Picture 1. Cls
x = Val(Text3。 Text)
If 20 < = x and x < = 22.
Picture 1. Print "Best"
else if 18.5 & lt; = x and x< Let's make it 20.
Picture 1. Print "normal"
ElseIf 22<x and x<, then 24.
Picture 1. Print "normal"
ElseIf x< then 18.5
Picture 1. Print "thin"
ElseIf 24<= x and x<, then 28.
Picture 1. Print "Overweight"
other
Picture 1. Print "Obesity"
If ... it will be over.
End joint
- Previous article:Hong kong version of fortune telling
- Next article:Fortune teller in Shangyou _ Fortune teller in Shangrao
- Related articles
- Detailed explanation of Sanzang's fortune-telling horoscope _ Detailed explanation of Sanzang's fortune-telling horoscope
- 50 fortune _ telling 100
- Another kind of fortune telling _ another way of saying fortune telling
- Is there a scientific basis for the collocation of genera? Do you believe in the collocation of those genera?
- The gate is in the Children's Palace.
- How about chasing a girl and asking her best friend for help? Ask the great god for guidance!
- What is a Buddha peach?
- How many ultramen are there? Say their names.
- Live Fortune Telling Thinking _ Live Fortune Telling
- Melon comes first.