Due inursday, February 18" @ 8:30 am Question a: A controversial way to classify body health is by calculating a Body Mass Index or BMI. The BMI calculation uses a person's weight and height to produce a value, which is then classified into categories. The equation for BMI is as follows: weight (lb) BMI = - 703 height (in)? Write a program that allows a user to enter their weight in pounds, and height in the foot-inch format see example output). Calculate the BMI using the equation provided, then print a message displaying the calculated value and the classification based on the table below, Account for erroneous input (.e. negative numbers). Use it/else statements in your solution. See next slide for example output BMI Classification = 30 Obese A03Qa Example Output UsersjrandDocuments\APSC 1413X22021\Assignment Solutic Enter your weight in pounds > 175 Enter your height in feet and inches Feet > 5 Inches > 11 The calculated BMI of 24,4 ss classified as HEALTHY CAUSES and Documents\APSC 1413X2 2021\Assignment Solutions Enter your weight in pounds > 100 Enter your height in feet and inches Feet > > CUsersrand Documents\APSC 1413X2 2021 Assignment Solutio Enter your weight in pounds > 260 Enter your height in feet and inches: Feet > Inches 56 Calculated a negative value try re-running the program The calculated BMI of 30.0 is classified as OBESE 15 Question b: Using a for loop, generate a table of conversions from km per hour to meters per second. Start the km/h column at and increment by 10 km/h. The last line should contain the value 110 km/h Users and Documents\APSC 1411X, 2021Assignment Solution Assignment TAD Soin 2021.exe R1100er/hour seter/second 10 0.0 2.8 5.6 54 20 11.1 13.9 16.7 19.4 22.2 25.0 22.0 30.6 90 100 110 execution time 0.145 5 Process returned (exe) Press any key to continue. Assignment #3 Due Thursday, February 18th @ 8:30 am Question : In fluid mechanics there is an equation relating the fluid friction factor f, and Reynolds number (Re). Re describes the laminar or turbulent nature of a flowing fluid. This equation is called the Prandti Correlation. It is stated as: = 4.005.0(Re-/-04 Unfortunately , one cannot directly solve this for f. However, we can guess at a value of f, plug it into the right-hand side (rhs) and calculate a new fas: 1 = 1/rhs? Applying this successively in a loop, we hope it will eventually converge to the correct value off for a given Re. Your program should request a Reynolds number and a starting guess for f from the user and print out the actual value off for that Reynolds number. Assume the function approximation has converged when the new value off differs from the last value of I by less than 0.00001. Your program should terminate with an error message if it has not converged in 100 iterations. Hints: Values off are typically quite small, so you might start with a guess less than 1, however, you program should converge in less than 10 iterations, even for a guess quite a bit larger or smaller than the correct value For a Reynolds number of Re-10,000, the correct friction factor ist -0.007727. 15