#include <stdio.h>
void main()
{
float a,b;
double m,s,x,y,z;
printf("请输入两个数:");
scanf("%f%f",&a,&b);
m = a+b;
s = a-b;
x = a*b;
y = a/b;
z = a%b;
printf("a=%f,b=%f,和=%7.2f\n",a,b,m);
printf("a=%f,b=%f,差=%7.2f\n",a,b,s);
printf("a=%f,b=%f,积=%7.2f\n",a,b,x);
printf("a=%f,b=%f,商=%7.2f\n",a,b,y);
printf("a=%f,b=%f,余=%7.2f\n",a,b,z);
}