Respuesta :

The code that swaps the numbers is an illustration of algorithms

The order of the code is:

  • First part => temp = G
  • Second part => G = H
  • Third part => H  = temp

How to arrange the code?

To arrange the code, we start by saving the content of one of the variables to a temporary variable.

Then, we swap the values of the variables.

Using the above highlight, the first part would be:

temp = G

Next, we assign the value of H to G

G = H

Lastly, we assign the temporary variable to H

H  = temp

Hence, the order of the code is:

temp = G

G = H

H  = temp

Read more about algorithms at:

https://brainly.com/question/22364342