Problem 1054. What's Your BMI?

Solution 2663561

Submitted on 7 Jul 2020 by Ramesh Kumar V
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
h= 1; m= 1; y_correct = 703.06957964; assert(isequal(BMI(h,m),y_correct))

y = 7.030695796400000e+02

2   Pass
h= 70; m= 90; y_correct = 12.91352289134694; assert(isequal(BMI(h,m),y_correct))

y = 12.913522891346940

Suggested Problems

More from this Author1

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!