Cody

Problem 1054. What's Your BMI?

Solution 3340238

Submitted on 23 Oct 2020
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   Fail
h= 1; m= 1; y_correct = 703.06957964; assert(isequal(BMI(h,m),y_correct))

y = 703

Assertion failed.

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

y = 12.9122

Assertion failed.

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!