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

In which sentence does the hyphen correctly divide a word? A. The left ventricle is the fourth chamb- er of the heart. B. The left ventricle is the fourth cham-
1. What should you do when you take a short break from reading? a.Make a note of where you left off. b. Go to the kitchen for a healthy snack. c. Simply close t
24/25 in percentage form
What is the slope of this line? y = -4x + 7 A: 4 B: 7 C: -4 D: -7
What is 77+(83+15)? In Math
What is the idea of Continental Drift?
Which sentence does not contain any errors? A. Yore meal is still cooking in the microwave. B. Youre meal is still cooking in the microwave. C. You're meal is s
what is an attraction of the mall called Comercial Galerias in San Salvador? a. childrens swing sets b. water slides c. a mansion d. free parking
During the 1600s and 1700s, Prussian kings built a strong nation by __________. encouraging commerce and industry taxing the land-owning nobility creating a par
The Georgia Entertainment Industry Investment Act awards tax credits for productions filmed in Georgia. Which statement describes how this impacts growth and de