发布网友 发布时间:2022-04-24 00:25
共1个回答
热心网友 时间:2023-10-15 10:32
#include "stdio.h"
main()
{ int a,b;
printf("请输入两个整数(a,b):");
scanf("%d,%d",&a,&b);
printf("和:%d\n",a+b);
printf("差:%d\n",a-b);
printf("积:%d\n",a*b);
printf("商:%f\n",(float)a/b);}
热心网友 时间:2023-10-15 10:32
#include "stdio.h"
main()
{ int a,b;
printf("请输入两个整数(a,b):");
scanf("%d,%d",&a,&b);
printf("和:%d\n",a+b);
printf("差:%d\n",a-b);
printf("积:%d\n",a*b);
printf("商:%f\n",(float)a/b);}