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))
|
17211 Solvers
Make one big string out of two smaller strings
1148 Solvers
Vectorize the digits of an Integer
269 Solvers
Create a vector whose elements depend on the previous element
391 Solvers
2455 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!