03-09-2020 07:55 AM
Thanks for the reply cbutcher,
Program does not run continuously, it runs once as you mentioned and give out the value.
I mentioned CPU usage as an example of cons of using the method as it seems to take about 3-4 seconds to generate the output. (I am not sure if that is even a drawback).
I would like to write this program efficiently, thus wondering if there is a better way to do it or if the existing method is good.
Thanks.
03-10-2020 01:05 PM
The program works great!. I was being stupid worrying about the efficiency.