因果律k @ 2020-08-05 20:29:36
#include<bits/stdc++.h>
using namespace std;
int b,c,d,e,f,g,h;
int main()
{
float a;
cin>>a;
b=a*10;
c=b/1000;
d=(b%1000)/100;
e=(b%100)/10;
f=b%10;
g=f*100+e*10+d;
cout<<g<<"."<<c;
return 0;
}
求大佬解释这个为什么不行
by BotDand @ 2020-08-09 18:20:39
@因果律k 你确定小数一定是