Cody

Solution 2505089

Submitted on 9 Jun 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
mps = 40; mph_correct = 144000; assert(isequal(MPS2MPH(mps),mph_correct))

Error in solution: Line: 2 Column: 12 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

2   Fail
mps = 5000; mph_correct = 18000000; assert(isequal(MPS2MPH(mps),mph_correct))

Error in solution: Line: 2 Column: 12 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

3   Fail
mps = 186218; mph_correct = 670384800; assert(isequal(MPS2MPH(mps),mph_correct))

Error in solution: Line: 2 Column: 12 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

Suggested Problems

More from this Author7