C语言文件中的小数输出是0.0?-灵析社区

兰豆儿

因为你用的 int price;后面又用%f输出 换成float price;就好了

阅读量:1

点赞量:2

问AI