Receiving the exchange rate and balances
Welcome to Money Exchange!
Exit: STOP
If you want to see USD to UAH, print "COURSE USD".
If you want to see UAH to USD, print "COURSE UAH".
To exchange USD to UAH print "EXCHANGE USD ... ".
To exchange UAH to USD print "EXCHANGE UAH ... ".
$ Please, make your choice:
Example of output information:
$ Please, make your choice: COURSE USD
RATE: 40.2, AVALIABLE: 12556606.42
$ Please, make your choice: EXCHANGE USD 300
UAH 12060.0, RATE 40.2