Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
a = 1;
b = 2;
c_correct = 3;
assert(isequal(add_two_numbers(a,b),c_correct))
|
2 | Pass |
a = 17;
b = 2;
c_correct = 19;
assert(isequal(add_two_numbers(a,b),c_correct))
|
3 | Pass |
a = -5;
b = 2;
c_correct = -3;
assert(isequal(add_two_numbers(a,b),c_correct))
|
Make one big string out of two smaller strings
1149 Solvers
1882 Solvers
724 Solvers
Find out sum and carry of Binary adder
380 Solvers
286 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!