Cody

# Problem 2196. Tax Season ! How much is my salary?

Solution 2067639

Submitted on 23 Dec 2019 by Asif Newaz
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))

x1 = datetime 01-Jan-2014 y1 = datetime 14-Feb-2014 a = 4 b = 6 c = 44 f1 = 2 f2 = 0 c1 = 43 d = 6.1429 salary = 8000

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

x1 = datetime 14-Feb-2013 y1 = datetime 29-Apr-2013 a = 5 b = 2 c = 74 f1 = 1 f2 = 3 c1 = 71 d = 10.1429 salary = 21594

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

x1 = datetime 01-Jan-2012 y1 = datetime 31-Dec-2012 a = 1 b = 2 c = 365 f1 = 5 f2 = 3 c1 = 358 d = 51.1429 salary = 13000

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

x1 = datetime 13-Dec-2011 y1 = datetime 28-Jan-2012 a = 3 b = 7 c = 46 f1 = 3 f2 = 1 c1 = 43 d = 6.1429 salary = 2616