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

Why is blood pressure higher during systole than during diastole"?
loneliness in Of Mice and Men
Which number on the map indicates the route of many of the earliest migrations to the Americas? A. 1 B. 2 C. 3 D. 4
Ancient Greece partially used an oligarchy. Which of the following best describes an oligarchy A) government ruled by one (king or queen) B) government ruled by
PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!
What is the main theme of the book "The Outsiders"?
Do I multiply or divide 3a=12.
A(an ________ involves approaching a problem in a way that has worked in the past, but it is clearly no longer working. anchoring bias functional fixedness ment
???? i need to know the answer to the question below pls
Which war during the mid-1800s weakened the economy of the Ottoman Empire? Crimean War World War I Spanish War Boer War