Cody

Solution 1395483

Submitted on 27 Dec 2017 by Erik Luiten
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 = 3; y = 300; z = 300; C = 2; assert(isequal(Egg_Milk_Sugar(x,y,z),C))

a = 3 a = 3 2 a = 3 2 20 Puddings = 2

2   Pass
x = 0; y = 999; z = 999; C = 0; assert(isequal(Egg_Milk_Sugar(x,y,z),C))

a = 0 a = 0 7 a = 0 7 66 Puddings = 0

3   Pass
x = 12; y = 1000; z = 100; C = 6; assert(isequal(Egg_Milk_Sugar(x,y,z),C))

a = 12 a = 12 7 a = 12 7 6 Puddings = 6