Cabletrader, check this out http://en.wikipedia.org/wiki/Triangular_arbitrage
In practice currencies are quoted with a bid ask spread, so a trader should be careful that he is actually buying at the quoted ask price, and selling at the quoted bid price. Other transaction costs, such as...