Cody

Solution 1869638

Submitted on 9 Jul 2019
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
x = 3; y_correct = 6.61; assert(isequal(kg_to_lbs(x),y_correct))

Error in solution: Line: 2 Column: 21 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

2   Fail
x = 6.7; y_correct = 14.77; assert(isequal(kg_to_lbs(x),y_correct))

Error in solution: Line: 2 Column: 21 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

3   Fail
x = -2; %% I know not physically possible! y_correct = -4.41; assert(isequal(kg_to_lbs(x),y_correct))

Error in solution: Line: 2 Column: 21 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.