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 |
%%
x=5;
y_correct = 12;
assert(isequal(area_rect(x),y_correct))
|
9833 Solvers
724 Solvers
299 Solvers
Sum of diagonals elements of a matrix
166 Solvers
299 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!