Cody

Solution 2052391

Submitted on 9 Dec 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
wage = 10; salary_correct = wage * 40 * 50; assert(isequal(ComputeSalary(wage),salary_correct))

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

2   Fail
wage = 30; salary_correct = wage * 40 * 50; assert(isequal(ComputeSalary(wage),salary_correct))

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

3   Fail
wage = 12.50; salary_correct = wage * 40 * 50; assert(isequal(ComputeSalary(wage),salary_correct))

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