Can anybody help me with this problem?asap Thanx Solution One temporary variable should be enough to prevent overwriting the information. Notice that this permutation is really a shift that wraps around: x<--y<--z<--x I\'ll show the state of the triple and temp variable for each assignment: temp x; (x, y, z) (temp = position 1) temp x; (y, y, z) (assign position 1 = position 2) temp x; (y, z, z) (assign position 2 = position 3) temp x; (y, z, x) (assign position 3 = temp) So four assignments..