请指点下
#include <stdio.h>void main()
{
float a,b;
float c,d,e,f,g;
printf("请输入两个数:\n");
scanf("%f%f",&a,&b);
c = a + b;
d = a - b;
e = a * b;
f = a / b;
g = a % b; 提示我这里不对
printf("和为:%f\n",c);
printf("差为:%f\n",d);
printf("积为:%f\n",e);
printf("商为:%f\n",f);
printf("余为:%f\n",g);
}
难道不可以取余吗?