Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 100;
y_correct = 90;
assert(isequal(Price(x),y_correct))
|
2 | Pass |
x = 150;
y_correct = 135;
assert(isequal(Price(x),y_correct))
|
1309 Solvers
Sum the numbers on the main diagonal
453 Solvers
519 Solvers
219 Solvers
31 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!