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 |
b = 1;
h = 1;
y_correct = 1/2;
assert(isequal(TriangleArea(b,h),y_correct))
ans =
0.5000
|
1594 Solvers
1246 Solvers
103 Solvers
109 Solvers
Test Problem; Create a 5x5 array containing all ones
198 Solvers