Cody

Solution 1742239

Submitted on 4 Mar 2019 by Athi
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
C = 'b'; A = 122; CA_C = 98; AC_C = 'z'; [CA AC] = Ascii_Conversions(C,A); assert(isequal(CA,CA_C)) assert(strcmp(AC,AC_C))

2   Pass
C = 'H'; A = 115; CA_C = 72; AC_C = 's'; [CA AC] = Ascii_Conversions(C,A); assert(isequal(CA,CA_C)) assert(strcmp(AC,AC_C))

3   Pass
C = '/'; A = 50; CA_C = 47; AC_C = '2'; [CA AC] = Ascii_Conversions(C,A); assert(isequal(CA,CA_C)) assert(strcmp(AC,AC_C))

4   Pass
C = '}'; A = 64; CA_C = 125; AC_C = '@'; [CA AC] = Ascii_Conversions(C,A); assert(isequal(CA,CA_C)) assert(strcmp(AC,AC_C))

Suggested Problems

More from this Author2