Question: Consider the following program code. i + 0 sum 0 REPEAT UNTIL i = 4 i + 1 sum sum + i i i +

Consider the following program code. i + 0 sum 0 REPEAT UNTIL i = 4 i + 1 sum sum + i i i + 1 DISPLAY sum Which of the following best describes the result of running the program code? A The number is displayed. B The number 6 is displayed. The number 10 is displayed D Nothing is displayed; the program results in an infinite loop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
