Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y=1;
z_correct = 1;
assert(isequal(dividing(x,y),z_correct))
ans =
1
|
2 | Pass |
x = 1;
y=0;
z_correct = 'ERROR';
assert(isequal(dividing(x,y),z_correct))
ans =
1
ans =
ERROR
|
3 | Pass |
x = Inf;
y=-Inf;
z_correct = 'ERROR';
assert(isequal(dividing(x,y),z_correct))
ans =
1
ans =
ERROR
|
4 | Pass |
x = 1;
y=NaN;
z_correct = 'ERROR';
assert(isequal(dividing(x,y),z_correct))
ans =
1
ans =
ERROR
|
323 Solvers
Create a Multiplication table matrix...
226 Solvers
192 Solvers
413 Solvers
229 Solvers