![]() |
|
#1
|
|||
|
|||
C++ BeginnerI am trying to convert USD to a couple of foreign currency and I am not sure how write this calculation. Can someone help me? Thanks in advance.
|
|
#2
|
|||
|
|||
|
CPP / C++ / C Code:
__________________
You are the winner ! http://www.merchantsreviews.com http://www.mindsocean.com http://www.algirdas.com Last edited by LuciWiz : 01-Feb-2005 at 15:13.
Reason: Please insert your C code between [c] & [/c] tags
|
|
#3
|
|||
|
|||
|
Quote:
In general, the calculation can be expressed in words as something like: (Number of EUR) = (Number of USD) * (Number of EUR)/(Number of USD) Now the quantity (Number of EUR)/(Number of USD) is obtained from a currency exchange table (you can find them on the web). Programmatically: CPP / C++ / C Code:
Regards, Dave |
Recent GIDBlog
Developing GUIs with wxPython (Part 3) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C++ Beginner | JYGUTI | C++ Forum | 2 | 01-Feb-2005 12:27 |
| Beginner to VB.NET and C#.NET | theduke1997 | .NET Forum | 4 | 21-Dec-2004 18:14 |
| Help a beginner with apache pls... | seta21 | Apache Web Server Forum | 3 | 27-Nov-2004 08:27 |
| RAID 0 -- beginner questions, need recommendation | ldriskell | Computer Hardware Forum | 2 | 09-Jul-2004 19:47 |
| Apache 1.3.28 >XP > Complete Beginner setting alias? | thinnk | Apache Web Server Forum | 2 | 26-Mar-2004 00:42 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The