Mathematical and Physical Journal
for High Schools
Issued by the MATFUND Foundation
Already signed up?
New to KöMaL?

Problem I. 174. (December 2007)

I. 174. Money Eater Ltd. deals with currency exchange. The boss wants all employees to have access to all exchange rates, so he uses a web page with the following structure:

<tr><td>Hungarian Dollar</td>
<tr><td>Australian Shekel</td>
<tr><td>Swiss Yen</td>

The first row of the table is the base currency, while other exchange rates are quoted in terms of this currency. In the example, 100 Hungarian Dollar correspond to 76 Australian Shekel or 80 Swiss Yen.

Write a program that converts exchange rates given in an HTML file (the input of your program) to a TXT file (the output of your program), so, for example, a command line could be i174 in.html out.txt.

The output of the above example would be the following TXT file:

The source code of your program (i174.pas, i174.cpp, ...) together with a short documentation (i174.txt, i174.pdf, ...) should be submitted, also containing a short description of your code and the name of the developer environment to use.

(10 pont)

Deadline expired on January 15, 2008.

Sorry, the solution is available only in Hungarian. Google translation

A feladatra sok jó megoldás érkezett. Ezek közül Adrián Patrik (Fazekas Mihály Gimnázium, Debrecen, 8. o.) munkáját közöljük.



9 students sent a solution.
10 points:Adrián Patrik, Szoldatics András, Véges Márton.
9 points:Gulyás 990 Péter, Molnár Gábor.
8 points:2 students.
7 points:1 student.
5 points:1 student.

Problems in Information Technology of KöMaL, December 2007