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

Alyssa spent half of her allowance going to the movies. She washed the family car and earned 7 dollars. What is her weekly allowance if she ended with 17 dolla
How many chromosomes in a human muscle cell? ______ A red blood cell? ______-
3. In a typical titration experiment a student titrates a 5.00 mL sample of formic acid (HCOOH), a monoprotic organic acid, with 26.59 mL of 0.1088 M NaOH. At t
What hormone promotes reabsorption by the kidney?
A meter stick sits on a pivot. You place 4 nuts 10 cm away from the pivot. Where would you place a single nut to make the meter stick balance?
Please answer the picture i put! Thanks Sooo much. ​
The resolution occurs at the end of the story. Question 3 options: a) True b) False
What did ishmeal mean when he said he lived in three worlds?​
CAN SOMEONE HELP WITH THIS????????????????? To begin a bacteria study, a petri dish had 1800 bacteria cells. Each hour since, the number of cells has increased
Steve and Abby purchased a set of vases to place on a 12 foot long mantel above their fireplace. They want to place one vase 1/4 of the distance from one end of