這是怎么運算的??
#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/d;
? ? printf("%f\n", result);
? ? return 0;
}
2020-04-09
舉報
2020-08-16
????????????????????????添加運算符號,+a和a沒區別
2020-04-24
運算符需要前后都有數據,所以你不需要在a前面加個+
2020-04-19
+號在a之前沒意義
2020-04-09
我是直接在main函數中計算的·