Cody

# Problem 43571. How many hours are there in a day in Italy?

Solution 1148206

Submitted on 29 Mar 2017 by H M Dipu Kabir
• Size: 12
• This is the leading solution.
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
y = 2016; m = 1; d = 1; y_correct = 24; assert(isequal(your_fcn_name(y,m,d),y_correct))

ans = []

2   Pass
y = 2016; m = 12; d = 31; y_correct = 24; assert(isequal(your_fcn_name(y,m,d),y_correct))

ans = []

3   Pass
y = 1965; m = 12; d = 7; y_correct = 24; assert(isequal(your_fcn_name(y,m,d),y_correct))

ans = []

4   Pass
y = 2016; m = 10; d = 30; y_correct = 25; assert(isequal(your_fcn_name(y,m,d),y_correct))

ans = []

5   Pass
y = 2016; m = 3; d = 27; y_correct = 23; assert(isequal(your_fcn_name(y,m,d),y_correct))

ans = []

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!