Introduction - If you have any usage issues, please Google them yourself
What is the day of the year? 1. program analysis: taking March 5th as an example, we should first add up the first two months, and then add 5 days, that is, the first few days of the year. When considering the special case, leap year and input month is more than 3, we need to consider adding one more day.