Cody

# Problem 44743. Pizza order

Solution 1698552

Submitted on 22 Dec 2018
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
d1 = 2;d2 = 1; n_correct = 4; assert(isequal(Pizza2(d1,d2),n_correct))

Undefined function 'pesistant' for input arguments of type 'char'. Error in Pizza2 (line 3) pesistant x Error in Test1 (line 3) assert(isequal(Pizza2(d1,d2),n_correct))

2   Fail
d1 = 1;d2 = 2; n_correct = 0.25; assert(isequal(Pizza2(d1,d2),n_correct))

Undefined function 'pesistant' for input arguments of type 'char'. Error in Pizza2 (line 3) pesistant x Error in Test2 (line 3) assert(isequal(Pizza2(d1,d2),n_correct))

3   Fail
d1 = 5;d2 = 7; n_correct = 0.75; assert(isequal(Pizza2(d1,d2),n_correct))

Undefined function 'pesistant' for input arguments of type 'char'. Error in Pizza2 (line 3) pesistant x Error in Test3 (line 3) assert(isequal(Pizza2(d1,d2),n_correct))

4   Fail
d1 = 7;d2 = 5; n_correct = 2; assert(isequal(Pizza2(d1,d2),n_correct))

Undefined function 'pesistant' for input arguments of type 'char'. Error in Pizza2 (line 3) pesistant x Error in Test4 (line 3) assert(isequal(Pizza2(d1,d2),n_correct))