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 |
x = 1;
y=2;
z=3
y_correct = 6;
assert(isequal(your_fcn_name(x,y,z),y_correct))
z =
3
ans =
6
|
2 | Pass |
x = 0;
y=0;
z=0;
y_correct = 0;
assert(isequal(your_fcn_name(x,y,z),y_correct))
ans =
0
|
4599 Solvers
Which values occur exactly three times?
3817 Solvers
Given an unsigned integer x, find the largest y by rearranging the bits in x
781 Solvers
206 Solvers
465 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!