Cody

Solution 1721895

Submitted on 6 Feb 2019
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   Fail
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))

Assertion failed.

2   Fail
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))

Assertion failed.

3   Fail
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))

Assertion failed.

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

Assertion failed.

Suggested Problems

More from this Author2