Cody

Solution 2555058

Submitted on 14 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))

Unrecognized function or variable 'mph'. Error in MPS2MPH (line 2) mph;5/18*mps Error in Test1 (line 3) assert(isequal(MPS2MPH(mps),mph_correct))

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

Unrecognized function or variable 'mph'. Error in MPS2MPH (line 2) mph;5/18*mps Error in Test2 (line 3) assert(isequal(MPS2MPH(mps),mph_correct))

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

Unrecognized function or variable 'mph'. Error in MPS2MPH (line 2) mph;5/18*mps Error in Test3 (line 3) assert(isequal(MPS2MPH(mps),mph_correct))