Homework #3 Solution
Develop a QT program that implements a currency converter. Your currency converter should look like the following:
The currency rate should be obtained from the http://fixer.io/ site. For example: The request https://api.fixer.io/latest?base=TRY&symbols=USD returns you the following string from which you can extract the TL/USD rate:
The program will operate as follows: The user will input the total TL amount in the lineedit box next to the “TL” label. The user will click one of the currency buttons (USD or EUR or GBP or CNY). Then, the currency rate will be fetched from the http://fixer.io/ site. The rate will be displayed next to the “Rate” as a label. The converted currency amount will be displayed next to “Amount” as a label.
You'll get 1 file (346.3KB)