Computer Science Homework Help

MCS The API From the Currency Exchange Rate Program

 

The code I have written the program that gets the API from the currency exchange rate and it sends the current rate to email. If the current rate haven’t changed, it checks again and will send the message to the email if the rate has changed

Is there anything that can be improved? Maybe a use of a data base that would store all the values and then check if current has changed since previous