#include main() { int a,b,c1,c2,c3,c4; scanf("%d,%d",&a,&b); if (b 0); c1 = a+ b; c2 =
问题描述:
#include main() { int a,b,c1,c2,c3,c4; scanf("%d,%d",&a,&b); if (b 0); c1 = a+ b; c2 =
#include
main()
{
int a,b,c1,c2,c3,c4;
scanf("%d,%d",&a,&b);
if (b 0);
c1 = a+ b;
c2 = a- b;
c3 = a* b;
c4 = a/ b;
printf("%d,%d,%d,%d/n",c1,c2,c3,c4);
}
答
#include
main()
{
int a,b,c1,c2,c3,c4;
scanf("%d,%d",&a,&b);
if (b !=0);
{c1 = a+ b;
c2 = a- b;
c3 = a* b;
c4 = a/ b;}
printf("%d,%d,%d,%d/n",c1,c2,c3,c4);
}