Respuesta :

Considering the pseudocode :

i = 0

sum = 0

REPEAT UNTIL i = 4

i = 1

sum++

DISPLAY sum

The output of the pseudocode will be 4.

pseudocode

pseudocode  is a plain language description of the steps in an algorithm or another system.

Let's write the code in python.

i = 0

sum = 0

while i < 4:

   sum += 1

   i += 1

print(sum)

Code explanation:

  • The first line of code, we initialise i as zero.
  • The sum was also initialise as zero.
  • Then we use the while loop to loop through i until its less than 4.
  • Then we add one to the sum for each loop.
  • Then, increase the value of i to continue the loop.
  • Finally, we print the sum.

learn more on pseudocode here : https://brainly.com/question/17101205

Ver imagen vintechnology