RE: SEC S20W02 - Basic Programming Course: Lesson #2 - Variables and Types of Data
In a serious and functional program, the price of STEEM could be obtained through a value in the Blockchain or Exchange.
--- > It crossed my mind, and I thought this is a super case, I hope one day we will come to talk about how to perform such data obtaining.
In such a case, the best option would be to let the user set the price, since this is a changing value and setting it statically in the code would not be very optimal.
---- > Yes, Professor, I now see why to let the user set the price is the best option in this scenario. I was just playing with possibilities, and your input has enriched my thought.
As additional information I would like to mention that you can give values to variables directly when you are declaring them, for example:
Define steem_price=0.16 As Real;
--- > Thanks, Professor.
So I guess the class followed me to the comment section. Once again, I thank you.