Cody

Solution 1996621

Submitted on 30 Oct 2019 by Nikolaos Nikolaou
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))

Puddings = 2

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

Puddings = 0

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

Puddings = 6