Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
numbers=[9 8];
operator='+';
value=1;
assert(isequal(ReverseCalculator(numbers,operator),value))
v =
9 8 7 6 5 4 3 2 1 0
|
2 | Pass |
numbers=[7 2];
operator='-';
value=-5;
assert(isequal(ReverseCalculator(numbers,operator),value))
v =
9 8 7 6 5 4 3 2 1 0
|
3 | Pass |
numbers=[0 6];
operator='/';
value=3;
assert(isequal(ReverseCalculator(numbers,operator),value))
v =
9 8 7 6 5 4 3 2 1 0
|
4 | Pass |
numbers=[1 5];
operator='*';
value=32;
assert(isequal(ReverseCalculator(numbers,operator),value))
v =
9 8 7 6 5 4 3 2 1 0
|
1421 Solvers
651 Solvers
Back to basics 23 - Triangular matrix
634 Solvers
Rounding off numbers to n decimals
1050 Solvers
Matlab Basics - y as a function of x
339 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!