https://practicalexamples1.blogspot.com/2021/06/how-to-find-x-of-circle-in-cc-oops.html