this is not a function?
cheat.
Can you explain how does it work?
why this is working?
It was a system error. I re-scored the solution, and that did the right thing.
Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
%%
a = 1;
b = 2;
c_correct = 3;
assert(isequal(add_two_numbers(a,b),c_correct))
Error: Undefined function 'add_two_numbers' for input arguments of type 'double'.
|
2 | Fail |
%%
a = 17;
b = 2;
c_correct = 19;
assert(isequal(add_two_numbers(a,b),c_correct))
Error: Undefined function 'add_two_numbers' for input arguments of type 'double'.
|
3 | Fail |
%%
a = -5;
b = 2;
c_correct = -3;
assert(isequal(add_two_numbers(a,b),c_correct))
Error: Undefined function 'add_two_numbers' for input arguments of type 'double'.
|
1262 Solvers
579 Solvers
Duplicate each element of a vector.
518 Solvers
414 Solvers
2781 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!