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 = 1;
A = 1;
assert(isequal(sq_area(x),A))
|
2 | Pass |
x = 2;
A = 4;
assert(isequal(sq_area(x),A))
|
3 | Pass |
x = 6;
A = 36;
assert(isequal(sq_area(x),A))
|
4 | Pass |
x = 8;
A = 64;
assert(isequal(sq_area(x),A))
|
Who has power to do everything in this world?
318 Solvers
292 Solvers
187 Solvers
354 Solvers
266 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!