Write an algorithm and draw a flowchart that will calculate the roots of a

Write an algorithm and draw a flowchart that will calculate the roots of quadratic equation . Consider decision structures
when b2 - 4ac > 0
b2 - 4ac = 0
and b2 - 4ac < 0