At the first blush, it may seem that online editors are pretty much the same, but you’ll find that it’s not that way at all. Having a robust document management solution like DocHub, you can do much more than with traditional tools. What makes our editor exclusive is its ability not only to promptly Link code in BMI Chart but also to create paperwork totally from scratch, just the way you want it!
Regardless of its extensive editing features, DocHub has a very easy-to-use interface that offers all the features you need at your fingertips. Therefore, adjusting a BMI Chart or a completely new document will take only a couple of moments.
Sign up for a free trial and enjoy your best-ever document-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