Multiple choice › Pseudocode
Pseudocode
1. Pseudocode
What is the value of Total after this pseudocode runs? Total = 0; FOR i = 1 TO 4; Total = Total + i; NEXT i
- 10
- 6
- 4
- 24
Answer
A
1 + 2 + 3 + 4 = 10.
Multiple choice › Pseudocode
What is the value of Total after this pseudocode runs? Total = 0; FOR i = 1 TO 4; Total = Total + i; NEXT i
A
1 + 2 + 3 + 4 = 10.