摘要: // 计算10亿秒约等于多少年,并打印输出 #include <stdio.h> int main() { int year; year = 1e9 / (60 * 60 * 24 * 365+0.5 ); printf("10亿秒约等于%d年\n", year); return 0; } #inc 阅读全文