题解 | #计算表达式的值#
计算表达式的值
http://www.nowcoder.com/practice/58457d27f91043edaf95b6591bb64fd6
#include <stdio.h>
int main()
{
int a=40;
int c=212;
int sum=0;
sum=(-8+22)*a-10+c/2;
printf("%d",sum);
return 0;
}
计算表达式的值
http://www.nowcoder.com/practice/58457d27f91043edaf95b6591bb64fd6
#include <stdio.h>
int main()
{
int a=40;
int c=212;
int sum=0;
sum=(-8+22)*a-10+c/2;
printf("%d",sum);
return 0;
}
相关推荐