Question 3 (10 Marks) 1) Given The Following Code Segment In Figure 4, Find The Value Of Z And Show The Solution Steps In Table 1 (5 Marks) Int A -2, 4, 3, D-6, 6-5; ++b + A. Ce / (04); Figure 4 Step Table 3: Step In Evaluating Arithmetic Expression Arith

匿名用户 最后更新于 2021-12-01 19:36 计算机类Computing


Question 3 (10 marks) 1) Given the following code segment in Figure 4, find the value of Z and show the solution steps in Table 1 (5 marks) int a -2, 4, 3, d-6, 6-5; ++b + a. ce / (04); Figure 4 Step Table 3: Step in evaluating arithmetic expression Arithmetic Operation ++b+ac+e/(d%4) 0 D) Given the following code segment in Figure 5, find the value of Z and show the solution steps in Table 4. (5 marks) int a-3, 6-4, 6-67 float x-5.0, y 7.0, 2; 2 - (a + y) = x - b + ca/-by Figure 5
Step Table 4: Step in evaluating arithmetic expression Arithmetic Operation Z= (a + y) *x-b+c%a/-b* y 0

已邀请: