Cody

Solution 2089580

Submitted on 12 Jan 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))

Undefined function 'unitconvert' for input arguments of type 'double'. Error in BMI (line 3) m=unitconvert(m,'SI'); Error in Test1 (line 4) assert(isequal(BMI(h,m),y_correct))

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

Undefined function 'unitconvert' for input arguments of type 'double'. Error in BMI (line 3) m=unitconvert(m,'SI'); Error in Test2 (line 4) assert(isequal(BMI(h,m),y_correct))

Suggested Problems

More from this Author1