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:
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.
Deadline expired on 15 January 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.