Write a general purpose currency convertor program. The program is started
by giving it three program arguments: the name of the currency the user holds
and wishes to sell, the name of the currency the user wishes to buy, and the
conversion rate from the first currency to the other. For example, the application
might be given these arguments:
USDollar Euro 0.9428
to tell it that one US Dollar can buy 0.9428 of one Euro.
Once it is started, the application asks the user to type the amount of currency
the user wishes to sell. When the user submits this information, the application
computes the amount of currency purchased and displays the answer as two
proportionally sized coins:
azraa 0 Newbie Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.