This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
wage = 10;
salary_correct = wage * 40 * 50;
assert(isequal(ComputeSalary(wage),salary_correct))
|
2 | Pass |
wage = 30;
salary_correct = wage * 40 * 50;
assert(isequal(ComputeSalary(wage),salary_correct))
|
3 | Pass |
wage = 12.50;
salary_correct = wage * 40 * 50;
assert(isequal(ComputeSalary(wage),salary_correct))
|
Find the longest sequence of 1's in a binary sequence.
2446 Solvers
Find all elements less than 0 or greater than 10 and replace them with NaN
11631 Solvers
What is the next step in Conway's Life?
423 Solvers
205 Solvers
364 Solvers