- y = m*x +c
- (2*a) / b * 3 *c
- 9*p + 2*q ( r + 2 ) / 2*(s -1)
- ( (3*e - d) / (x - 9) ) - ( (4 - pow (c,3)) / 4*y )
b. Determine the order of solving the expressions below and calculate the value of x.
- x = 15
- x = 3
- x = 108
- x = 1
c. Given the value of num1=26. Determine the value of num2 after the execution for each of
the following statement.
- 24
- 26
- 24
- 27
- k = j++;
= 4 - k = ++j;
= 5 - k = ++i * j--;
= 5*4
= 20 - k = j++ * --i;
= 4*2
= 8 - k = j * i/j--;
= 4* 3/4
= 3 - k = 24/j++ - 16 % i;
= 24/4 - 16 % 3
= 6 - 1
= 5
Output :
1: 10
2: 10
3: 11
2: 10
3: 11
4: 11
5: 11
6: 31
7: -11
7: -11
8: 32
9: 32
10: 32
11: 0
12: 1
13: 0
13: 0
f. Given i=2, j=5.
i) Output: 7
ii) Output: 8
iii) Output: 9
iv) Output: 12
v) Output: 36








