Cody

Solution 2200760

Submitted on 8 Apr 2020 by Michael Jarboe
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 = '01-Jan-2014'; y = '14-Feb-2014'; z = 2000; salary = 8000; assert(isequal(AllAboutMoney_Honey(x,y,z),salary))

X = datetime 01-Jan-2014 Y = datetime 14-Feb-2014 C = 4

2   Pass
x = '14-Feb-2013'; y = '29-Apr-2013'; z = 3599; salary = 21594; assert(isequal(AllAboutMoney_Honey(x,y,z),salary))

X = datetime 14-Feb-2013 Y = datetime 29-Apr-2013 C = 6

3   Pass
x = '01-Jan-2012'; y = '31-Dec-2012'; z = 500; salary = 13000; assert(isequal(AllAboutMoney_Honey(x,y,z),salary))

X = datetime 01-Jan-2012 Y = datetime 31-Dec-2012 C = 27 C = 26

4   Pass
x = '13-Dec-2011'; y = '28-Jan-2012'; z = 654; salary = 2616; assert(isequal(AllAboutMoney_Honey(x,y,z),salary))

X = datetime 13-Dec-2011 Y = datetime 28-Jan-2012 C = 4