代码
#include <stdio.h> int main() { int year, s; long double k; s = 1e+9; k = s/60/60/24/365; year = (int)(k+0.5); printf("十亿秒约等于%d年\n", year); return 0; }
图片
标签:24,task6,int,60,year,include From: https://www.cnblogs.com/zzaw/p/17181852.html
代码
#include <stdio.h> int main() { int year, s; long double k; s = 1e+9; k = s/60/60/24/365; year = (int)(k+0.5); printf("十亿秒约等于%d年\n", year); return 0; }
图片
标签:24,task6,int,60,year,include From: https://www.cnblogs.com/zzaw/p/17181852.html