Cody

Solution 2124425

Submitted on 10 Feb 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
g=32; h=10000; v_correct = 800; assert(isequal(canon(g,h),v_correct))

Error in solution: Line: 5 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "canon".)

2   Fail
g=32; h=100; v_correct = 80; assert(isequal(canon(g,h),v_correct))

Error in solution: Line: 5 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "canon".)

3   Fail
g=32; h=4; v_correct = 16; assert(isequal(canon(g,h),v_correct))

Error in solution: Line: 5 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "canon".)