Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. Write a php script that has two variables v1 and v2. It performs the following operations: --v1 v1 =v1 /v2-. v1-(v2 2)+15.4; v2 +V1
1. Write a php script that has two variables v1 and v2. It performs the following operations: --v1 v1 =v1 /v2-. v1-(v2 2)+15.4; v2 +V1 v1 v2; After each operation above has been done, the program prints the result. (25 points) Write a php function that has two variables, representing the weight in pounds and height in inches of a person. Then, it calculates and displays the user's body mass index (BMI). The formula is listed below: 2. weightln Pounds x 703 heightInInches height lnlnches BMI = Finally, it evaluates the value of BMI based on the information from the Department of Health and Human Services/National Institutes of Health listed below and displays the evaluation result. (25 points) BMI VALUES Underweight: less than 18.5 Normal: Overweight: between 25 and 29.9 Obese: between 18.5 and 24.9 30 or greater Call this function for 3 times
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