#include<stdio.h>
int main()
{
int age;
long double second;
printf("Please enter your age:\n");
scanf("%d",&age);
second=age*(3.156E7);
printf("your age changed to seconds is %lf%",&second);
return 0;
}
最后乱码了,但是程序可以编译运行,我该怎么写才可以让范围不溢出??
慕粉13202587281
风之将尽
编程之夜
眼前的黑不是黑zz
相关分类