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)
举一反三
- Those years that have 365 days a year are called_____. A: regular years B: leap years C: Chinese years D: solar years
- Finland’s students have the shortest school days and the shortest school years in the entire world.
- 采用以下方式结算,卖方风险由小到大排序正确的是(<br/>)。 A: D/P<br/>AT SIGHT; D/P 30 DAYS AFTER SIGHT; D/A 30 DAYS AFTER SIGHT B: D/P30<br/>DAYS AFTER SIGHT; D/A 30 DAYS AFTER SIGHT; D/P AT SIGHT C: D/P30DAYS<br/>AFTER SIGHT; D/P AT SIGHT; D/A 30 DAYS AFTER SIGHT D: D/A<br/>30 DAYS AFTER SIGHT; D/P 30 DAYS AFTER SIGHT; D/P AT SIGHT
- We have a ____ holiday on National Day every year. A: seven days B: seven days’ C: seven-days D: seven day’s
- A company receives 30 days of credit from its suppliers. Inventory turnover averages 15 days. Trade receivables are given 45 days credit. What is the working capital cycle of the company? A: 90 days B: 30 days C: 60 days D: 0 days