這是怎么運(yùn)算的??
#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
舉報(bào)
2020-08-16
????????????????????????添加運(yùn)算符號(hào),+a和a沒(méi)區(qū)別
2020-04-24
運(yùn)算符需要前后都有數(shù)據(jù),所以你不需要在a前面加個(gè)+
2020-04-19
+號(hào)在a之前沒(méi)意義
2020-04-09
我是直接在main函數(shù)中計(jì)算的·