Click on the green flag and follow the instructions.
I have it loop as long as you keep answering "y" to "Do you have an equation?" If you answer "n" it says thanks for using the program. It seems to be correctly solving the equations I have used. It gives answers where the discriminant is a negative number, however. My next step would be to have it say "There are no real solutions" if b squared minus 4ac is negative.