#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;
}
#include <stdio.h>
int main()
{
int a,b,c,d;
double result;
a = 1;
b = 2;
c = 3;
d = 4;
result = (a+b)/c*b; //在这里体验哦~
printf("%f\n", result);
return 0;
}
是可以的 你的代码问题
能把问题具体些吗