diff --git a/src/currencyExchange.c b/src/currencyExchange.c index b8cf582..ccf75d3 100644 --- a/src/currencyExchange.c +++ b/src/currencyExchange.c @@ -5,4 +5,11 @@ float toUSD(float euro) { float USD = euro * CURRENT_USD_RATE_OF_ONE_EURO; return USD; +} + +float toGBP(float euro) { + + float GBP = euro * CURRENT_GBP_RATE_OF_ONE_EURO; + + return GBP; } \ No newline at end of file