• 2022-06-19
    Write a C program to convert a given integer (in days) to years, weeks and days, assumes that all months have 30 days and all years have 365 days. 编写一个 C 程序,将给定的整数2535(以天为单位)转换为年、月和日,假设所有月有 30 天,所有年有 365 天。 输出如下: 6 Year(s)[br][/br] 11 Month(s)[br][/br] 15 Day(s)