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

The Lees have 3 children. The oldest is twice as old as the youngest. The middle is 5 years older than the youngest. If the sum of the age is 57, how old is eac
Are there Centrioles in Nerve cells?
Dan's stamp book has 2 pages with 4 rows of stamps on each page.  Each row has 2 stamps.  How many stamps are on these pages of Dan's stamp book?
Candace said I'm thinking of a fraction. If I divide it by 1/2,I get 3/11.what fraction was Candace thinking of??
What is the average of something (mean or mode) I really need to know I forgot what the difference was ho
Evaluate the 6 trigonometric functions of theta for 540 degrees
Find f(a), f(a+h) and the difference quotient (f(a+h)-f(a))/ h, where hod want equal 0. F(x)= 2x/ x-1
In 1950, there were 40.3 million cars registered in the United States. In 1990, there were 133.7 million cars registered in the United States. What was the perc
Evaluate the 6 trigonometric functions of theta for 540 degrees
What happened to the number of moles in a sample that originally occupied 500mL with 2.50 moles and then occupied 750mL? It deals with gas laws