Respuesta :

Answer:

  straight-line code is executed exactly once

Explanation:

You want the reason your code does not produce more than one set of outputs.

Straight-line code

Your code reads two inputs, swaps them, outputs the swapped values, and stops. This will give the behavior you have described.

If you want it to repeat, you need to put the code in a loop. Usually, such a loop will have a terminating condition, such as a number of executions, or an input value signifying the end of input data.