Cody

Problem 46639. Transform a Decimal number into a Septimal number

Solution 3040657

Submitted on 3 Oct 2020 by Benjamin
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
x =7; y= 10; assert(isequal(DecimaltoSeptimal(x),y))

2   Pass
x =93; y= 162; assert(isequal(DecimaltoSeptimal(x),y))

3   Pass
x =22; y= 31; assert(isequal(DecimaltoSeptimal(x),y))

4   Pass
x =20145; y= 112506; assert(isequal(DecimaltoSeptimal(x),y))

5   Pass
x =2014; y= 5605; assert(isequal(DecimaltoSeptimal(x),y))

6   Pass
x =107033; y= 624023; assert(isequal(DecimaltoSeptimal(x),y))