December 2017
Beginner
366 pages
5h 36m
English
© Radek Vystavěl 2017
Radek Vystavěl, C# Programming for Absolute Beginners, https://doi.org/10.1007/978-1-4842-3318-4_10
Radek Vystavěl1
(1)Ondřjov, Czech Republic
In this chapter, you will learn how to count money. It’s pretty simple, but you need to use some common sense.
Performing simple economic calculations usually means doing currency conversions , which you will try in this section.
After accepting an amount in euros and the euro exchange rate, you will convert the amount to dollars (see Figure 10-1).

Here is the code:
static void Main(string[] args)Read now
Unlock full access