这个那又错了。
#include<stdio.h>void main()
{
int a,b;
float sum,minus,product,quotient,remainder;
scanf("%d%d",&a,&b);
sum=float(a)+b;
minus=a-b;
product=a*b;
quotient=a/b;
remainder=a%b;
printf("%.2f\n%.2f\n%.2f\n%.2f\n%.2f\n",sum,minus,product,quotient,remainder);
}