subject
Mathematics, 14.07.2020 01:01 alextoro

I have two variables, $x$ and $y$, and I want to swap their values. (For example, if $x$ has value 5 and $y$ has value "banana", then after the swap I want $x$ to have value "banana" and $y$ to have value 5.) Explain why the code x = y y = x doesn't work, and figure out what we need to do to swap the values of $x$ and $y$.

ansver
Answers: 3

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 13:30, aclark512
David bought a poster for an art project. the poster is 2.7 feet wide and 3.9 feet tall. what is the area of the poster?
Answers: 2
image
Mathematics, 21.06.2019 13:30, dsporski
Find two rational expressions that have the difference of 2-n/n-4
Answers: 1
image
Mathematics, 21.06.2019 20:30, anispotts
If a 36 inch yardstick casts a 21 foot shadow, how tall is a building whose shadow is 168 feet? what is the scale factor
Answers: 1
image
Mathematics, 21.06.2019 23:00, lucylooe11
Simplify using positive exponents only.
Answers: 2
You know the right answer?
I have two variables, $x$ and $y$, and I want to swap their values. (For example, if $x$ has value 5...

Questions in other subjects:

Konu
Mathematics, 19.01.2021 19:00