Skip to content

Conversation

@Henric234
Copy link

My solution sets one variable to be equal the others variable initial value + 0 and then, after copying its old value, changes the second variable value to be equal to first one.

My solution sets one variable to be equal the others variable initial value + 0 and then, after copying its old value, changes the second variable value to be equal to first one.
@Prime-5
Copy link
Owner

Prime-5 commented Oct 13, 2019

When I saw the code, I instantly liked the idea, but it is not correct yet.
I ran the code and the output came
"5 5"

When corrected, I would be glad to merge it.

@Henric234
Copy link
Author

Bizarre, It works right away in my computer. I made some changes and I believe it is easier to understand this way and it should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants