Looking for how to write code to compute for quadratic equation on a vb.net application

How would you do it with paper and pencil?
You would note 3 coefficients A,B en C you would put these numbers into a formula and work it out.

Same with computer:
Write code to input 3 numbers A, B and C.
Write the calculation formula and output the calculated values.