Cody

Problem 1054. What's Your BMI?

Solution 2663558

Submitted on 7 Jul 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.912244897959184

Assertion failed.