algorithm & flowchart to find root of quadratic equation
Answers
Answered by
0
Answer:
I didn't understand bro sorry
Answered by
4
Answer:
Step Form Algorithm:
- Start.
- Declare the required variables.
- Indicate the user to enter the coefficients of the quadratic equation by displaying suitable sentences using printf() function.
- Wait using the scanf() function for the user to enter the input.
- Calculate the roots of quadratic equation using the proper formulae.
- Display the result.
- Wait for user to press a key using getch() function.
- Stop.
Pseudo Code Algorithm:
- Start.
- Input a, b, c.
- D ← sqrt (b × b – 4 × a × c).
- X1 ← (-b + d) / (2 × a).
- X2 ← (-b - d) / (2 × a).
- Print x1, x2.
- Stop.
HOPE IT WILL HELP YOU!!
MARK ME AS A BRAINLIEST.
DO FOLLOW ME✌
Attachments:
Similar questions