Cody

Problem 43084. Combine the digits to output numbers

Solution 1008769

Submitted on 11 Oct 2016 by Sean Kyle Ongchangco
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
x = 1; b = 2; y_correct = 12; assert(isequal(your_fcn_name(x,b),y_correct))

y = 1 y = 12 y = 12

2   Pass
x = 2; b = 1; c = 0; y_correct = 210; assert(isequal(your_fcn_name(x,b,c),y_correct))

y = 2 y = 21 y = 210 y = 210

Suggested Problems

More from this Author43

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!