A student wishes to travel to the USA and changes amounts of Euro and Swiss Franc in Dollar (in whole numbers!). The exchange rates are \$ 1.35 = € 1.00 and \$ 1.12 = CHF 1.00. If the student receives \$ 66.49 in total, then how much money of each currency has been changed?
So I don't really understand this task. The student has got \$ 66.49.
This seems problematic "how much money of each currency has been changed?".
Am I asked to convert \$ 66.49 into € and CHF?
If so then: $$\frac{\$66.49}{\$1.35}=€49.25$$
and
$$\frac{\$66.49}{\$1.12}=50.37 \text{ CHF}$$
But wait, it was mentioned "in whole numbers"... So what to do? Or the task is just bad? I think it cannot be as easily done as I tried here, no way : /
Edit: I heard there is a recommendation using extended euclidean algorithm but I don't see the use of it here at all.