请高手给予程序讲解,特别对于if(f){x=x*10+c;} else{y=y+c/t;t=t*10;}} double fun(char*s) { double x=0,y=0,t=10; int c,f=1; while(*s) { if(*s=='.') f=0; else { c=*s-'0';if(f){x=x*10+c;}else{y=y+c/t;t=t*10;}}s++;}return x+y;}
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/06 05:31:16
xTRP~s$pK 2Z~*a*[E´P|I9e{U&9oM-|Ϯ֜~Y#-=.:.1ΉŽT|SsAEbWBL#=R*K
ųɩt03Ɯ*yxu|rRG11*rBb(QL`U=3/r d"AҚM'QNGJѥA}4SN8H)5yK
H6l;xŮ{Ӳ߰sc|Sw.ENhxP6*tbl/&
"yFVD{g]G*=+'I1F)}}wKkM ": YiQ+8ao-F-Zi0lc5_֨p' j[euۙX"#YxРIģ'~"_:'Fe"CH{{'7U
c|M$+=1[8Q*`iWR^RQxdm!5a1@@%(ELj1aDǛ'I>vǹ|I.
Ƚm`쮼
$yimo[UYgzۜ>0籚]
IJuF[Jn{{@ߠBJޜSbzi3&