1 #include <stdio.h> 2 int main() 3 { 4 int year; 5 year = (float)(static_cast<double>(1000000000 / 365 / 24 / 60) / 60) + 0.5; 6 printf("10亿秒约等于%d年\n", year); 7 return 0; 8 }
标签:24,10,int,60,任务,实验,year From: https://www.cnblogs.com/huangyi-bit/p/17796447.html