We've moved away from repl.it for coding exercises. Check out the new exercises on Coding Rooms with automated submissions.
Login to your Udemy course and head over to the link below to get the sign up link:
Write a program that switches the values stored in the variables a and b.
Warning. Do not change the code on lines 1-4 and 12-18. Your program should work for different inputs. e.g. any value of a and b.
a: 3
b: 5
a: 5
b: 3
e.g. When you hit run, this is what should happen:
- You should not have to type any numbers in your code.
- You might need to make some more variables.
Before checking the solution, try copy-pasting your code into this repl:
https://repl.it/@appbrewery/day-1-4-test-your-code
This repl includes my testing code that will check if your code meets this assignment's objectives.