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))
|
Renaming a field in a structure array
542 Solvers
Get the area codes from a list of phone numbers
417 Solvers
Sum all integers from 1 to 2^n
6337 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
1573 Solvers
345 Solvers