Cody

Problem 1054. What's Your BMI?

Solution 3275368

Submitted on 19 Oct 2020 by Lee Chih Jung
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))

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

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!