cannot convert from double to int

img

为什么会这样报错,是哪里错了,怎么更改啊
就那个int day 的错误 哪里错了?

中文括号错了,应该是英文括号