Last active
April 9, 2019 01:19
-
-
Save rmartinho/9485770 to your computer and use it in GitHub Desktop.
Program that swaps the values of variables x and y, with the usual algorithm that uses a temporary variable in a weird nonexistent language.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
temporary_ACC creation_V. | |
temporary_DAT assignment_V x_ACC. | |
y_ACC x_DAT assignment_V. | |
assignment_V temporary_ACC y_DAT. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment