This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
sq = 2;
ci = 1;
y_correct = (sq>ci);
assert(isequal(sqci(sq,ci),y_correct))
|
2 | Pass |
sq = rand;
ci = rand;
y_correct = (4*sq^2>pi*ci^2);
assert(isequal(sqci(sq,ci),y_correct))
|
3 | Pass |
sq = 0;
ci = 0;
y_correct = (0>0);
assert(isequal(sqci(sq,ci),y_correct))
|
1401 Solvers
Make a random, non-repeating vector.
1120 Solvers
Output any real number that is neither positive nor negative
252 Solvers
414 Solvers
Find my daddy long leg (No 's')
124 Solvers