Can anyone help me out with doing a program which solves the quadratic equation?

I also need to use 3 user defined methods which produce one answer, I know there are a lot of tutorials online for this, but i can't seem to find a good one.

Can anyone help me out?

**UPDATE**

Actually, the program has to have 1 value returning method, and 3 void methods