?
Solved

Currency Conversion

Posted on 2008-06-22
4
Medium Priority
?
2,590 Views
Last Modified: 2012-05-05
Can anyone show me a complete program design for currency coversion using the top down approach? This would include input output Hieracy chart, flow chart, program modules etc. Or direct me to a location where I can view this information.
1. Canadian dollars       (rate: 1 U.S. dollar = 1.4680 Canadian dollars)
2. Mexican pesos       (rate: 1 U.S. dollar = 9.5085 pesos
3. English pounds       (rate: 1.6433 U.S. dollars = 1 pound)
4. Japanese yen       (rate: 1 U.S. dollar = 104.9200 yen)
5. French francs       (rate: 1 U.S. dollar =  6.2561 francs)
0
Comment
Question by:MRSERVER
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 11

Expert Comment

by:spoxox
ID: 21843126
This is a common intro to programming assignment. It's against EE rules to provide answers to homework, but help is OK.

The job is simple:

1) collect the information you need: source currency, target currency, exchange rate between those two currencies, and the amount.

2) multiply the amount by the exchange rate.

You may need to add to this. E.g., user interface: display input query and output result.

I/O hierarchy chart -
Program modules -
Flow chart -

+------------------------
| stuff goes in
+------------------------
|
v
+------------------------
| stuff happens
+------------------------
|
v
+------------------------
| stuff comes out
+------------------------

You might want to embellish this.

Best of luck!
0
 

Author Comment

by:MRSERVER
ID: 21843187
I do not recall asking any one to do home work, what i did ask was to see an example. Never mind any way there are many other reliable sources that I can go to . Thanks for your diagram on how stuff goes in. It looks to complicated to embllish.
0
 
LVL 31

Accepted Solution

by:
Frosty555 earned 1000 total points
ID: 21843209
We can give you more information about the top down approach and how to apply it to computer algorithms:

http://au.answers.yahoo.com/question/index?qid=20080509073535AAk2IGD - Yahoo! Answers, basic answer with a football example

http://en.wikipedia.org/wiki/Top-down - Wikipedia's general overview. Usually very good, but also very succinct and brief.

http://au.answers.yahoo.com/question/index?qid=20080509073535AAk2IGD - U of MBC powerpoint presentation on top down design with a couple examples.

http://www.cs.usfca.edu/~parrt/course/601/lectures/top.down.design.html - U of SFC with an in depth case study related to web servers

Now apply that to your homework problem and you should be all set.
0
 
LVL 11

Expert Comment

by:spoxox
ID: 21843269
Not to worry.

"...a complete program design for currency coversion using the top down approach? This would include input output Hieracy chart, flow chart, program modules etc. " sounds exactly like homework, as these are elements that are typical to many assignments.

Obviously I misunderstood your intent, not the first time I've made a mistake.

And welcome to EE!
0

Featured Post

How To Install Bash on Windows 10

Windows’ budding partnership with Canonical has certainly led to some great improvements. One of them being the ability to use Bash on your Windows machine without third party applications! This might be one of the greatest things a cloud engineer in a Windows environment can do!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The greatest common divisor (gcd) of two positive integers is their largest common divisor. Let's consider two numbers 12 and 20. The divisors of 12 are 1, 2, 3, 4, 6, 12 The divisors of 20 are 1, 2, 4, 5, 10 20 The highest number among the c…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question