Cody

Solution 2015875

Submitted on 12 Nov 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))

Unrecognized function or variable 'x'. Error in ComputeSalary (line 2) salary = x*40*50; % Modify to wage * ??? Error in Test1 (line 3) assert(isequal(ComputeSalary(wage),salary_correct))

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

Unrecognized function or variable 'x'. Error in ComputeSalary (line 2) salary = x*40*50; % Modify to wage * ??? Error in Test2 (line 3) assert(isequal(ComputeSalary(wage),salary_correct))

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

Unrecognized function or variable 'x'. Error in ComputeSalary (line 2) salary = x*40*50; % Modify to wage * ??? Error in Test3 (line 3) assert(isequal(ComputeSalary(wage),salary_correct))

Suggested Problems