Money is a flexible currency conversion program meant for people who travel and have to deal with their own currencies, the US dollar and the currencies of the countries in which they travel. When travelling, many of travellers find that we have to work with three currencies: our own currency, the American dollar and the currency of the country in which we are travelling. This program performs four different conversions: local currency to our own currency, local currency to American dollars, American dollars to local currency and our own currency to local currency. The program must be modified to fit the needs of the traveller. The code to be modified is at the beginning of the program: :"NOK"\->\MyMoney : 2\->\MyDecim : 6.45\->\MyToUSD : :"INR"\->\XXX : 2\->\XXXDecim :34.00\->\XXXToUSD : :"USD"\->\USD : 2\->\USDDecim : :"More"\->\More : "No"\->\No : "Sum"\->\SumWord : "Yes"\->\Yes MyMoney is the name of the traveller's own currency (in this case, NOK, Norwegian kroner); it is used in the menu. MyDecim is the number of decimal places to display for the traveller's own currency. MyToUSD is the exchange rate for one American dollar in the traveller's own currency (in this case, 6.45 Norwegian kroner corresponds to one American dollar). XXX is the name of the local currency. The variable XXX is not used in the program; it is there just as documentation of which local currency the is going to be used (in this case, INR, Indian rupees). XXXDecim is the number of decimal places to display for local currency. XXXToUSD is the exchange rate for one American dollar in local currency (in this case 34.00 Indian rupees corresponds to 1 American dollar). USD is the name of American dollars; it is used in the menu. USDDecim is the number of decimal places to display for American dollars. More is the text to be displayed when asking whether the user wants to do any more conversions. No is the word for "no"; Yes is the word for "yes". Sum is the word to be displayed when asking for a sum to be converted. These are variables so that the user can set up the program to work in another language than English. The program asks for a sum of money to be converted. Once the sum has been entered and the ENTER key pressed, a menu is displayed. Using the default set-up, the menu is: ->NOK ->USD USD-> NOK-> F1 F2 F3 F4 F5 indicating that F1 is to be pressed to convert from local currency to NOK, F2 to convert from local currency to USD, F4 to convert from USD to local currency and F5 to convert from NOK to local currency. The program performs and displays the conversion. Then it asks whether or not more conversions are to be performed and displays a menu. Using the default set-up, the menu is: Yes No F1 F2 F3 F4 F5 indicating that F1 is to be pressed if more conversions are to be performed and F5 if no more conversions are to be performed. An example of a modified set of instructions for a French traveller: :"FRF"\->\MyMoney : 2\->\MyDecim : 5.09\->\MyToUSD : :"INR"\->\XXX : 2\->\XXXDecim :34.00\->\XXXToUSD : :"USD"\->\USD : 2\->\USDDecim : :"Encore"\->\More : "Non"\->\No : "Somme"\->\SumWord : "Oui"\->\Yes For the convenience of those who prefer the somewhat more reliable XXEncoding system, an XXEncoded version of the program can be found after the UUEncoded version. If you find the program useful, I'd appreciate a postcard! -- Aron Felix Gurski Strandlien 35 N-5037 Solheimsvik Norway e-mail: agurski@bix.com