一年大约有3.156e7秒,编写一个程序,提升用户输入年龄,然后显示年龄对应的秒
/一年大约有3.156e7秒,编写一个程序,提升用户输入年龄,然后显示年龄对应的秒/
#include <stdio.h>
int main(void)
{
double Age;
double seconds;
printf("please enter Age\n");
scanf("%lf",&Age);
seconds=Age*3.156e7;
printf("%.3e\n",seconds);
return 0;
}