Cody

Problem 44473. Let's make puddings !

Solution 1563518

Submitted on 18 Jun 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
x = 3; y = 300; z = 300; C = 2; assert(isequal(Egg_Milk_Sugar(x,y,z),C))

pudding = 2

Output argument "Puddings" (and maybe others) not assigned during call to "Egg_Milk_Sugar". Error in Test1 (line 5) assert(isequal(Egg_Milk_Sugar(x,y,z),C))

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

pudding = 0

Output argument "Puddings" (and maybe others) not assigned during call to "Egg_Milk_Sugar". Error in Test2 (line 5) assert(isequal(Egg_Milk_Sugar(x,y,z),C))

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

pudding = 7

Output argument "Puddings" (and maybe others) not assigned during call to "Egg_Milk_Sugar". Error in Test3 (line 5) assert(isequal(Egg_Milk_Sugar(x,y,z),C))