Hey, sorry if this is a simple question but I'm pretty new to programming. I'm making kind of a simple program that basically does the quadratic formula with given inputs a, b, and c (ax^2+bx+c). I made a bool function to test to see if the square root is a rational number or not. I have all of my inputs in the bool function and I don't know how to copy the value of those variables to my main function. Just an FYI, like i said earlier, my understanding of programing is pretty basic but I want to learn more, so over explain anything if possible! Can provide my (probably very bad) code if that will help!