21.23. Post Test

Please answer the following problems to the best of your ability without any outside help. You can stop working on a problem after you worked on it for about five minutes without solving it.

21.23.1. Problems

Finish writing the code to swap the values in x and y (so that x ends up with y’s initial value and y ends up with x’s initial value).

Finish writing the code to swap the values in a and b (so that a ends up with b’s initial value and b ends up with a’s initial value).

21.23.2. Feedback

Please provide feedback here. Please share any comments, problems, or suggestions.

Before you keep reading...

Runestone Academy can only continue if we get support from individuals like you. As a student you are well aware of the high cost of textbooks. Our mission is to provide great books to you for free, but we ask that you consider a $10 donation, more if you can or less if $10 is a burden.

21.23.3. Thank You

Thank you for taking part in this assignment! We appreciate your time on this.

You have attempted 1 of 4 activities on this page