#include <stdio.h> main() {int a=12,b=3; float x=18.5,y=4.6; printf ("%f\n",(float)(a*b)/2); printf ("%d\n",(int)x%(int)y); 知识点:1.不能对浮点数进行求余 2.乘法运算符不能省略 心得体会:程序虐我千百遍,我待程序如初恋 相关文章: 2022-12-23 2021-05-21 2021-06-04 2021-09-26 2022-12-23 2022-12-23 2022-12-23 2022-12-23