题解 | #计算表达式的值#
计算表达式的值
http://www.nowcoder.com/practice/58457d27f91043edaf95b6591bb64fd6
public class Main {
public static void main(String[] args){
int a = 40;
int c = 212;
int result = (- 8 + 22) * a - 10 + c / 2;
System.out.println(result);
}
}