This excercises introduce you to a dark idea of what is information, at least for me, let's see:
supouse that a = 2 and b = 3
Do that
let a = a + b;
let b = a - b;
let a = a - b;
Is done, y así intercambias dos valores numéricos sin intermediarios, Luis. Chao.
Top comments (1)
That actually doesn't work because you're redeclaring
aandb:So you might actually do this:
And yet, that's a lot code when nowadays you can simply do this:
Cheers!