Answered step by step
Verified Expert Solution
Question
1 Approved Answer
how do i do a custom function called BMI which takes height and weight variables as input variables and calculate a BMI index as an
how do i do a custom function called BMI which takes height and weight variables as input variables and calculate a BMI index as an output and put this function into Work.Functions.Conversions. Calculate the BMI index for the following dataset then print only the BMI indices.
Height | Weight |
1.60 | 42 |
1.80 | 70 |
Use the following formula for BMI:
BMI=weight/(height*height);
to Complete the code, according to the below table with the title:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started