Solved Problem (2) 'Currency exchange'