In this chapter, you will learn how to count money. It’s pretty simple, but you need to use some common sense.
Currency Conversion
Performing simple economic calculations usually means doing currency conversions , which you will try in this section.
Task
After accepting an amount in euros and the euro exchange rate, you will convert the amount to dollars (see Figure 10-1).
Figure 10-1 Converting to dollars
Solution
Here is the code:
static void Main(string[] args)