At the first blush, it may seem that online editors are very similar, but you’ll realize that it’s not that way at all. Having a powerful document management solution like DocHub, you can do much more than with regular tools. What makes our editor so special is its ability not only to promptly Enter code in BMI Chart but also to create documentation completely from scratch, just the way you need it!
Regardless of its comprehensive editing capabilities, DocHub has a very simple-to-use interface that offers all the functions you want at hand. Therefore, modifying a BMI Chart or an entirely new document will take only a few moments.
Sign up for a free trial and celebrate your greatest-ever paperwork-related experience with DocHub!
in this video im going to show you guys how to create a function that will calculate someones bmi and then tell them if they are severely underweight underweight healthy weight overweight or ops so the first two things we are going to need at is input from the user um one being the height and the other being the weight so were going to create a variable called height and were going to set it equal to the input and were just going to tell the user to enter height in inches okay and then we need to create another one called weight so weight and its going to be also set to the input but were going to tell them to enter weight in pounds okay um were gonna actually convert these this into floats because as integers theyre not quite as precise as floats so were just going to do that if you didnt already know the float function uh converts uh things into floating point decimal numbers so yeah so from here were going to create the bmi function were just going to say define bmi the