Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 35431;
y_correct = 256;
assert(isequal(sq_sum(x),y_correct))
ans =
256
|
2 | Pass |
%%
x = -431;
y_correct = 64;
assert(isequal(sq_sum(x),y_correct))
ans =
64
|
284 Solvers
281 Solvers
Is this triangle right-angled?
2874 Solvers
192 Solvers
615 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!