1 public String generateOperation (int left, int right, char operator) { 2 int value=0; 3
1 public String generateOperation (int left, int right, char operator) { 2 int value=0; 3 if (0<=left 4 5 6 7 10 11 12 13 && { if (operator="=" ’+’){ value="left" + right; (return ""+left+operator+right+"="+value; 8 } else { 9 return " error_1"; } else ’-’){ - (value>= 0 ){ 14 return ""+left+operator+right+"="+value; 15 } else { 16 return "Error_2"; 17 } 18 } else { 19 return "Error_3"; 20 } 21 } else { 22 return "Error_4"; 23 } 24 } 对程序执行测试数据(88,45, ’—’),执行的判断分支包括()。
A、3-4
B、4-11
C、6-9
D、11-12
E、13-14