|
@ -2,8 +2,12 @@ |
|
|
|
|
|
|
|
|
#define USD_RATE_OF_ONE_EURO 1.07 |
|
|
#define USD_RATE_OF_ONE_EURO 1.07 |
|
|
#define GBP_RATE_OF_ONE_EURO 0.89 |
|
|
#define GBP_RATE_OF_ONE_EURO 0.89 |
|
|
|
|
|
#define JAPANESE_YEN_RATE_OF_ONE_EURO 140.9 |
|
|
|
|
|
#define CHINESE_YUAN_RATE_OF_ONE_EURO 7.29 |
|
|
|
|
|
|
|
|
#define CURRENCY_CODE_USD 1 |
|
|
#define CURRENCY_CODE_USD 1 |
|
|
#define CURRENCY_CODE_GBP 2 |
|
|
#define CURRENCY_CODE_GBP 2 |
|
|
|
|
|
#define CURRENCY_CODE_JAPANESE_YEN 3 |
|
|
|
|
|
#define CURRENCY_CODE_CHINESE_YUAN 4 |
|
|
|
|
|
|
|
|
float convert(float euro, int newCurrencyCode); |
|
|
float convert(float euro, int newCurrencyCode); |