Write a function that switches between two values in memory.
Utilisateur anonyme
In the SIMPLE language variables are passed by value and arrays are passed by reference, so you can simply insert an array into the function and replace the values in it