125830jl @ 2022-10-19 22:54:16
double a,t;
int b,c,d,e,f;
scanf("%lf",&a);
b=a/100;
c=a/10-(b*10);
d=a/1;
e=d-(b*100)-(c*10);
f=a*10-(d*10) ;
t=b*0.1+c+(e*10)+(f*100);
printf("%f",t);
return 0;
}
by hhc2012 @ 2023-07-22 12:09:59
是printf("%.3f",t);