Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 2;
y_correct = 12.57;
assert(isequal(crcl_area(x),y_correct))
ans =
12.5700
|
2 | Pass |
%%
x = 12;
y_correct = 452.39;
assert(abs(y_correct-crcl_area(x)) <= 0.01)
ans =
452.3900
|
Program an exclusive OR operation with logical operators
639 Solvers
317 Solvers
255 Solvers
323 Solvers
151 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!