#请问大佬们我的本意不是输出字符,就是想着“拼接数字”,这种写法是有什么错误吗?浇浇
}```c
#include<stdio.h>
#include<math.h>
int main()
{
double x;
if(x>=100 && x<1000)
{
scanf("%lf",&x);
}
int b;
b=(int)x/100;//百位数
int c;
c=(int)x %10;//个位数
int d;
d=((int)x/10)%10;//十位数
double e;
e=fmod(x,1.0);//小数位
int y;
y=e10+cpow(10,-1)+dpow(10,-2)+bpow(10,-3);
printf("%lf",y);
return 0;
}