MRSERVER
asked on
Currency Conversion
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)
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)
ASKER
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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!
"...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!
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!