Ok lemme run through it with you.
x = 128, y = 44, z = 221, a = 64
since (208 <= z <= 223) we use the second formula
so numdays = ((z-207) times 4y) plus x/64
= ((221 - 207) x 4 x 44) + (128/64)
= (14 x 4 x 44) + 2
= 2464 + 2
= 2466
Could you do something like this as well so we could see where the error pops up?
x = 128, y = 44, z = 221, a = 64
since (208 <= z <= 223) we use the second formula
so numdays = ((z-207) times 4y) plus x/64
= ((221 - 207) x 4 x 44) + (128/64)
= (14 x 4 x 44) + 2
= 2464 + 2
= 2466
Could you do something like this as well so we could see where the error pops up?