Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1000;
y_correct = 4;
assert(isequal(compute_number(x),y_correct))
|
2 | Pass |
x = 0;
y_correct = 1;
assert(isequal(compute_number(x),y_correct))
|
3 | Pass |
x = 7675483;
y_correct = 7;
assert(isequal(compute_number(x),y_correct))
|
4 | Pass |
x=-2
y_correct = 1;
assert(isequal(compute_number(x),y_correct))
x =
-2
|
5 | Pass |
x=8476352689256
y_correct = 13;
assert(isequal(compute_number(x),y_correct))
x =
8.4764e+12
|
Find the alphabetic word product
2321 Solvers
420 Solvers
311 Solvers
Find remainder when x is divided by 3
99 Solvers
903 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!