0
4.0kviews
Write an algorithm to find the real roots of a quadratic equation

Subject : Structured Programming Approach

Title : Introduction to Computer, Algorithm and Flowchart

Marks : 4M

1 Answer
0
650views

Start

Read the coefficient of quadratic equation

term = bb – 4a*c

if (term >0)

display (Roots are real)

x1 = (-b + sqrt(term)) / 2*a

x2 = (-b - sqrt(term)) / 2*a

display(x1,x2)

End

Please log in to add an answer.