clintonkinara
clintonkinara clintonkinara
  • 21-11-2021
  • Computers and Technology
contestada

write a function to swap two variables using a third variable ​

Respuesta :

mubashirhashmi2020 mubashirhashmi2020
  • 21-11-2021

Answer:

Explanation:

Assign var1 value to a temp variable: temp = var1.

Assign var2 value to var1: var1 = var2.

Assign temp value to var2: var2 = temp.

Answer Link

Otras preguntas

Seb made a jump of two and a half meters Kirsty's jump was 10 centimeters longer how long was Kirsty's jump
Balance the equation : ...NO2 + ...O2 + ...H2O = ...HNO3
Electrolysis of a dilute solution of aqueous sodium chloride results in the cathode product a. Sodium b. Hydrogen c. Chlorine d. Oxygen e. peroxide
What does karyote mean?
Which sentence does not contain any punctuation errors?  A.The smoothie recipe includes the following, frozen berries, yogurt, and vanilla extract.  B.The smoot
Neil had some olive oil.  He used 1/5 liter to make a salad dressing.  There was 1/2 liter of olive oil remaining in the bottle. What amount of olive oil did Ne
without multiplying determine which expression has a product greater than 52,678A) 5/6 x 52,678B) 9/9 x 52,678C) 4/3 x 52,678D) 3/5 x 52,678How can I tell just
The density of mercury is 13.6 g/mL. What is the volume of a 155-gram sample of mercury?
A small child has a wagon with a mass of 10 kilograms. The child pulls on the wagon with a force of 2 newtons. What is the acceleration of the wagon?
what word best describe chlorophyll