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:
![](https://hi-static.z-dn.net/files/de8/58fe7c47b04968cd7f404aaaf3c4c080.jpg)
Similar questions