这个答案有点不对劲啊
#include <stdio.h>
int main()
{
int a,b,c,d;
double result;
a = 1;
b = 2;
c = 3;
d = 4;
result = a/b*c+d; //在这里体验哦~
printf("%f\n", result);
return 0;
}
运行结果:4.000000
#include <stdio.h>
int main()
{
int a,b,c,d;
double result;
a = 1;
b = 2;
c = 3;
d = 4;
result = a/b*c+d; //在这里体验哦~
printf("%f\n", result);
return 0;
}
运行结果:4.000000
2020-11-21
举报