Find algorithm root of quadratic equation
Answers
Answered by
0
Answer:
Step 1:- Start. Step 2:- Take user inputs for a,b and c. Step 3:- Check if the value of a is not zero. Step 4:- Calculate Functions value ie, b*b – a*a*c. Step 5:- Find the square root of the function. Step 6:-if the value is greater than zero print Two real roots and value of roots. Step 7:- If the value is equal to zero Print one real root and print the value.
Hope It Helps
Attachments:
Similar questions