Computer Science, asked by ishaqzainuddeen, 4 months ago

Write an algorithm to find the root of quadratic equation

Answers

Answered by JasleenMann
9

ALGORITHM: 1) Start 2) Declare the required variables 3) Read the coefficients a,b,c of quadratic equation 4) Calculate d=b2-4ac 5) IF d<0,display roots are imaginary & goto step 6 else calculate x=(-b+ sqrt(d))/2a y=(-b-sqrt(d))/2a 6) Display real roots x,y 7) Stop.

Answered by aimanakhtar
2

Answer:

make the above one as brainliest..

Similar questions