Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exchange Rate Program: Exchangeratetxt. America,Dollar,1 Argentina,Peso,8.405692 Australia,Dollar,1.070835 Austria,Euro,0.760488 Belgium,Euro,0.760488 Brazil,Real,2.237937 Canada,Dollar,1.086126 Chile,Peso,591.4077 China,Yuan,6.143665 Czech Rep.,Koruna,21.09312 Denmark,Krone,5.640121 European Union,Euro,0.760488 Finland,Euro,0.760488 France,Euro,0.760488 Germany,Euro,0.760488 Greece,Euro,0.760488 Hong Kong,Dollar,7.750659 Hungary,Forint,239.2141

Exchange Rate Program: Exchangeratetxt.

America,Dollar,1 Argentina,Peso,8.405692 Australia,Dollar,1.070835 Austria,Euro,0.760488 Belgium,Euro,0.760488 Brazil,Real,2.237937 Canada,Dollar,1.086126 Chile,Peso,591.4077 China,Yuan,6.143665 Czech Rep.,Koruna,21.09312 Denmark,Krone,5.640121 European Union,Euro,0.760488 Finland,Euro,0.760488 France,Euro,0.760488 Germany,Euro,0.760488 Greece,Euro,0.760488 Hong Kong,Dollar,7.750659 Hungary,Forint,239.2141 Iceland,Krona,116.928 India,Rupee,60.53497 Ireland,Euro,0.760488 Israel,Sheqel,3.575005 Italy,Euro,0.760488 Japan,Yen,104.182 Korea (South),Won,1013.056 Kuwait,Dinar,0.284485 Mexico,Peso,13.08679 Netherlands,Euro,0.760488 New Zealand,Dollar,1.1929 Norway,Krone,6.187769 Pakistan,Rupee,102.5065 Peru,Sol,2.847159 Philippines,Peso,43.48437 Poland,Zloty,3.201264 Portugal,Euro,0.760488 Romania,Leu,3.344094 Russia,Ruble,37.17437 Saudi Arabia,Riyal,3.750675 Singapore,Dollar,1.248927 Slovakia,Euro,0.760488 South Africa,Rand,10.66882 Spain,Euro,0.760488 Sweden,Krona,6.982663 Switzerland,Franc,0.917854 Taiwan,Dollar,29.91087 Thailand,Baht,31.97966 U.A.E.,Dirham,3.673087 Ukraine,Hryvnia,12.83265 United Kingdom,Pound,0.602288 

The Exchrate.txt image text in transcribed

file provides information about the currencies of 49 major countries. Each line in the file gives the name of a country, the name of its currency, and the number of units of the currency that are equal to one American dollar (called the exchange rate). For instance, one United States dollar is equal to 591.4077 Chilean pesos. Use the exchange rate file to write three programs.

1) requests the name of a country as input and then displays the name of its currency and its exchange rate;

2) displays the names of the countries in ascending order determined by the number of units that can be purchased for one United States dollar; and

3) requests the names of two countries and the amount of money, and then converts the amount from the first country's currency to the equivalent amount in the second country's currency.

The attached document contains examples for each program. Write 1-2 paragraphs explaining and reflecting on your thought process for writing each program (a total of 3-6 paragraphs in length). Format your assignment in APA format (if applicable).

Any assistance would be highly obliged! (EDIT: THERE IS NO OTHER PROGRAMMING LANGUAGE THAN WHAT IS PROVIDED; COPY & PASTED WHOLE ASSIGNMENT. REQUIREMENTS HERE, THANK YOU) :)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Marketing The New Profit Frontier

Authors: Ed Burnett

1st Edition

0964535629, 978-0964535626

More Books

Students also viewed these Databases questions

Question

java 1 review exercise grade converter

Answered: 1 week ago